Commit graph

12 commits

Author SHA1 Message Date
smallmodel
c25d0b668a
Only check if m_bVisible is non-zero 2024-11-05 20:30:30 +01:00
smallmodel
915269e017
Fix the actor stuck targeting an enemy with really low threat (behind walls, not visible)
This fixes the actor being stuck aiming even if the player is near them
2024-08-31 16:24:59 +02:00
smallmodel
49a7a1f8ff
minimum visibility is 0.999 and not 1.0 2024-02-26 15:53:17 +01:00
smallmodel
73c9e6f1d8
Ignore disabled ennemies 2024-02-25 19:16:07 +01:00
smallmodel
4f5abb3412
Fixed int conversion when printing the awareness 2024-02-13 16:22:39 +01:00
smallmodel
a5532ad67b
Fixed Actor Enemy system 2023-10-15 17:11:20 +02:00
smallmodel
658bba576e
Moved methods 2023-10-12 20:35:57 +02:00
smallmodel
4a1f149051
Formatted actor source files 2023-10-12 20:18:22 +02:00
smallmodel
d757fa6306
Renamed world.cpp and world.h to worldspawn.cpp and worldspawn.h 2023-10-08 00:08:47 +02:00
smallmodel
ef18c389be
Cleanup entity class
Added new parameter for CanSee
Added Entity::SafeSolid and Entity::Sink
2023-08-09 23:09:09 +02:00
smallmodel
5333c7ff4a
Removed empty line before opening braces 2023-07-05 20:52:55 +02:00
OM
e4fa0fff3a Renamed **game** to **fgame** 2023-06-15 23:44:02 +02:00
Renamed from code/game/actorenemy.cpp (Browse further)