revert some things
This commit is contained in:
parent
ab8cccf8ed
commit
e227b6ff60
2 changed files with 3 additions and 2 deletions
|
|
@ -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>
|
||||||
|
|
|
||||||
|
|
@ -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 ());
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue