BUGFIX 523 - When retreating from combat, the code was designed to add 5 minutes to the game clock. Not sure why. Possibly to resolve an exploit? Anyway, if another travel group had an arrival time within that 5 minute span, an Assertion error would result. This fixes that by removing the 5 minute "retreat charge".

git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@4500 3b4a5df2-a311-0410-b5c6-a8a6f20db521
This commit is contained in:
ChrisL
2011-06-14 14:43:30 +00:00
parent 11889ee846
commit d9437117bb
+1 -1
View File
@@ -1511,7 +1511,7 @@ void RetreatMercsCallback( GUI_BUTTON *btn, INT32 reason )
}
//Warp time by 5 minutes so that player can't just go back into the sector he left.
WarpGameTime( 300, WARPTIME_NO_PROCESSING_OF_EVENTS );
//WarpGameTime( 300, WARPTIME_NO_PROCESSING_OF_EVENTS );
ResetMovementForEnemyGroupsInLocation( gubPBSectorX, gubPBSectorY );
btn->uiFlags &= ~BUTTON_CLICKED_ON;