FOnline: Reloaded

Development => Bugs => Topic started by: Slowhand on January 08, 2016, 08:53:25 pm

Title: UI - TB timer keeps to count down after turn end if enemy is out of sight.
Post by: Slowhand on January 08, 2016, 08:53:25 pm
Bug:

The TB timer will keep counting down even after turn is finished, if the next creature on turn is not in sight.

Steps to reproduce:

Go around world map with 1PE, when encountered, run toward safety, see effect on next turn.

Possible fix:

Seems like an engine bug, that CritterCl.IsTurnBasedTurn() does not get updated in this case. I used CritterCl.StatBase[ST_CURRENT_AP] > 0 instead, and it worked. Did not test with bonus move, I guess an extra conditional check is needed for that.