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.