mirror of
https://github.com/1dot13/source.git
synced 2026-08-19 14:20:30 +02:00
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:
@@ -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.
|
//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 );
|
ResetMovementForEnemyGroupsInLocation( gubPBSectorX, gubPBSectorY );
|
||||||
|
|
||||||
btn->uiFlags &= ~BUTTON_CLICKED_ON;
|
btn->uiFlags &= ~BUTTON_CLICKED_ON;
|
||||||
|
|||||||
Reference in New Issue
Block a user