Added two bug fixes for loading a game saved in combat mode (from Mr.Stalin)

This commit is contained in:
NovaRain
2019-01-27 09:20:44 +08:00
parent 80afdae7ba
commit 3eba5c3054
3 changed files with 60 additions and 32 deletions
+1 -1
View File
@@ -464,7 +464,7 @@ Runs before and after each turn in combat (for both PC and NPC).
int arg1 - event type: 1 - start of turn, 0 - normal end of turn, -1 - combat ended abruptly (by script or by pressing Enter during PC turn)
int arg2 - critter doing the turn
int arg3 - unknown boolean argument
bool arg3 - set to 1 at the start of the player's turn after the game has been loaded, 0 otherwise
int ret1 - pass 1 at the start of turn to skip the turn, pass -1 at the end of turn to force end of combat