Skip to content

Commit

Permalink
attempt to fix compile
Browse files Browse the repository at this point in the history
  • Loading branch information
Vaqtincha committed Jun 8, 2021
1 parent edf60b4 commit cc6337d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions regamedll/dlls/bot/cs_bot_event.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -67,9 +67,9 @@ void CCSBot::OnEvent(GameEventType event, CBaseEntity *pEntity, CBaseEntity *pOt
// automatically acquire our dead friend's killer
if (!IsAttacking() && (GetDisposition() == ENGAGE_AND_INVESTIGATE || GetDisposition() == OPPORTUNITY_FIRE))
{
if (event == EVENT_PLAYER_DIED ||
if (event == EVENT_PLAYER_DIED
#ifdef REGAMEDLL_ADD
event == EVENT_PLAYER_TOOK_DAMAGE
|| event == EVENT_PLAYER_TOOK_DAMAGE
#endif
)
{
Expand Down

0 comments on commit cc6337d

Please sign in to comment.