mirror of
https://github.com/1dot13/source.git
synced 2026-08-05 14:00:23 +02:00
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@1017 3b4a5df2-a311-0410-b5c6-a8a6f20db521
This commit is contained in:
@@ -475,7 +475,7 @@ void PreventFromTheFreezingBug(SOLDIERTYPE* pSoldier)
|
||||
{
|
||||
gfUIInterfaceSetBusy = FALSE;
|
||||
UnSetUIBusy( pSoldier->ubID );
|
||||
gTacticalStatus.ubAttackBusyCount = 0;
|
||||
// gTacticalStatus.ubAttackBusyCount = 0; // 0verhaul: I know commenting this may not be a good idea, but then neither is this kludgy routine.
|
||||
guiPendingOverrideEvent = LU_ENDUILOCK;
|
||||
UIHandleLUIEndLock( NULL );
|
||||
}
|
||||
@@ -5817,7 +5817,7 @@ void SetUIBusy( UINT8 ubID )
|
||||
|
||||
void UnSetUIBusy( UINT8 ubID )
|
||||
{
|
||||
if ( (gTacticalStatus.uiFlags & INCOMBAT ) && ( gTacticalStatus.uiFlags & TURNBASED ) && ( gTacticalStatus.ubCurrentTeam == gbPlayerNum ) )
|
||||
if ( gfUserTurnRegionActive && (gTacticalStatus.uiFlags & INCOMBAT ) && ( gTacticalStatus.uiFlags & TURNBASED ) && ( gTacticalStatus.ubCurrentTeam == gbPlayerNum ) )
|
||||
{
|
||||
if ( !gTacticalStatus.fUnLockUIAfterHiddenInterrupt )
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user