nuclide/src
Ivan Kukush ea462ea8ac NSMonster: move enemy invalidation from AttackThink() to SeeThink()
During enemy invalidation reseting m_eEnemy to __NULL__ also set monster state to idle,
should be a task for NSMonster::SetEnemy() which is missed right now.

Add new NSMonster::IsValidEnemy(entity enemy) - returns TRUE if 'enemy' should be
considered a valid target for killing, visibility/reachability is not checked.

Add sanity checkes in NSMonster::WalkRoute() otherwise __NULL__ m_eEnemy could be used.

NSMonster_FindClosestPlayer() use IsValidEnemy() insead of health checking,
probably too strict and that changes its behaviour too much, probably.
2022-07-17 01:35:22 +03:00
..
botlib Big commit fixing many regressions since crunch hit. env_sprite has been reworked. 2022-07-07 09:10:14 -07:00
client Big commit fixing many regressions since crunch hit. env_sprite has been reworked. 2022-07-07 09:10:14 -07:00
gs-entbase NSMonster: move enemy invalidation from AttackThink() to SeeThink() 2022-07-17 01:35:22 +03:00
materials Big commit fixing many regressions since crunch hit. env_sprite has been reworked. 2022-07-07 09:10:14 -07:00
menu-fn Big commit fixing many regressions since crunch hit. env_sprite has been reworked. 2022-07-07 09:10:14 -07:00
menu-vgui Big commit fixing many regressions since crunch hit. env_sprite has been reworked. 2022-07-07 09:10:14 -07:00
platform Big commit fixing many regressions since crunch hit. env_sprite has been reworked. 2022-07-07 09:10:14 -07:00
plugins Big commit fixing many regressions since crunch hit. env_sprite has been reworked. 2022-07-07 09:10:14 -07:00
server add noref to g_mapcycle_override, to avoid an unnecessary compiler warning 2022-07-16 13:16:23 -07:00
shared PMove: add a bunch of comments so peole would be aware of issues/limitations 2022-07-16 00:19:31 +03:00
vgui Big commit fixing many regressions since crunch hit. env_sprite has been reworked. 2022-07-07 09:10:14 -07:00
xr Big commit fixing many regressions since crunch hit. env_sprite has been reworked. 2022-07-07 09:10:14 -07:00
Makefile Move game-specific sources into their respective mod-dirs. This was planned 2021-02-08 13:35:15 +01:00