diff --git a/include/engine/extdll.h b/include/engine/extdll.h index b0c944d..1d83402 100644 --- a/include/engine/extdll.h +++ b/include/engine/extdll.h @@ -32,7 +32,8 @@ #include "windows.h" #include "winsock2.h" #else // _WIN32 - +#define FALSE 0 +#define TRUE (!FALSE) #define MAX_PATH PATH_MAX #include #include diff --git a/source/manager.cpp b/source/manager.cpp index 1fc540b..52ae81c 100644 --- a/source/manager.cpp +++ b/source/manager.cpp @@ -87,7 +87,7 @@ void BotManager::TouchWithKillerEntity (Bot *bot) kv.szClassName = const_cast (g_weaponDefs[bot->m_currentWeapon].className); kv.szKeyName = "damagetype"; kv.szValue = const_cast (FormatBuffer ("%d", (1 << 4))); - kv.fHandled = 0; + kv.fHandled = FALSE; MDLL_KeyValue (m_killerEntity, &kv); MDLL_Touch (m_killerEntity, bot->GetEntity ());