mirror of
https://github.com/s1lentq/ReGameDLL_CS.git
synced 2025-05-03 18:39:29 +03:00
Reset bot morale on new match(game) (#1025)
This commit is contained in:
parent
6f0d17bb74
commit
1a17ef4e45
@ -56,6 +56,11 @@ void CCSBot::OnEvent(GameEventType event, CBaseEntity *pEntity, CBaseEntity *pOt
|
|||||||
DecreaseMorale();
|
DecreaseMorale();
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
#ifdef REGAMEDLL_FIXES
|
||||||
|
case EVENT_NEW_MATCH:
|
||||||
|
m_morale = POSITIVE; // starting a new round makes everyone a little happy
|
||||||
|
break;
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!IsAlive())
|
if (!IsAlive())
|
||||||
|
Loading…
x
Reference in New Issue
Block a user