Home » MODDING HQ 1.13 » v1.13 Bug Reports » Bug fix - NPCs freeze while avoiding light at night
Bug fix - NPCs freeze while avoiding light at night[message #358655] Sat, 14 December 2019 18:31 Go to next message
bfant

 
Messages:6
Registered:December 2019
Hello,

I found a bug in the code which caused NPCs to freeze while avoiding light sources at night while playing AIMNAS.

In order to fix it simply change

INT16 FindNearbyDarkerSpot( SOLDIERTYPE *pSoldier )

to

INT32 FindNearbyDarkerSpot( SOLDIERTYPE *pSoldier )

in file TacticalAI/FindLocations.cpp



Re: Bug fix - NPCs freeze while avoiding light at night[message #358734 is a reply to message #358655] Wed, 01 January 2020 12:02 Go to previous messageGo to next message
bfant

 
Messages:6
Registered:December 2019
bump since nobody cares to fix it for everybody
Re: Bug fix - NPCs freeze while avoiding light at night[message #358735 is a reply to message #358734] Wed, 01 January 2020 12:16 Go to previous messageGo to next message
sevenfm

 
Messages:2053
Registered:December 2012
Location: Russian Federation
@bfant
Committed in r8722.



7609+AI (r1436) | Unofficial modpack | Win8+ fix | Experimental project | Youtube | Trunk (r8740)

"It's already "dog-eat-dog", friend. Not sure what worse a bunch of zombies could do."


icon14.gif  Re: Bug fix - NPCs freeze while avoiding light at night[message #358737 is a reply to message #358735] Thu, 02 January 2020 11:12 Go to previous message
bfant

 
Messages:6
Registered:December 2019
Thank you!
Previous Topic: Angel and Maria quest broken
Next Topic: [Bug Report] Corrupt Merc Selection
Goto Forum:
  


Current Time: Sun Jan 26 09:02:19 EET 2020

Total time taken to generate the page: 0.01201 seconds