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 is currently offline 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



Report message to a moderator

Private
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 is currently offline bfant

 
Messages:6
Registered:December 2019
bump since nobody cares to fix it for everybody

Report message to a moderator

Private
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
Deleted.

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



Left this community.

Report message to a moderator

Lieutenant

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 is currently offline bfant

 
Messages:6
Registered:December 2019
Thank you!

Report message to a moderator

Private
Previous Topic: Angel and Maria quest broken
Next Topic: [Bug Report] Corrupt Merc Selection
Goto Forum:
  


Current Time: Fri Mar 29 08:13:38 GMT+2 2024

Total time taken to generate the page: 0.00822 seconds