revert some things

This commit is contained in:
jeefo 2016-09-11 21:13:57 +03:00
commit e227b6ff60
2 changed files with 3 additions and 2 deletions

View file

@ -32,7 +32,8 @@
#include "windows.h" #include "windows.h"
#include "winsock2.h" #include "winsock2.h"
#else // _WIN32 #else // _WIN32
#define FALSE 0
#define TRUE (!FALSE)
#define MAX_PATH PATH_MAX #define MAX_PATH PATH_MAX
#include <limits.h> #include <limits.h>
#include <stdarg.h> #include <stdarg.h>

View file

@ -87,7 +87,7 @@ void BotManager::TouchWithKillerEntity (Bot *bot)
kv.szClassName = const_cast <char *> (g_weaponDefs[bot->m_currentWeapon].className); kv.szClassName = const_cast <char *> (g_weaponDefs[bot->m_currentWeapon].className);
kv.szKeyName = "damagetype"; kv.szKeyName = "damagetype";
kv.szValue = const_cast <char *> (FormatBuffer ("%d", (1 << 4))); kv.szValue = const_cast <char *> (FormatBuffer ("%d", (1 << 4)));
kv.fHandled = 0; kv.fHandled = FALSE;
MDLL_KeyValue (m_killerEntity, &kv); MDLL_KeyValue (m_killerEntity, &kv);
MDLL_Touch (m_killerEntity, bot->GetEntity ()); MDLL_Touch (m_killerEntity, bot->GetEntity ());