TacticalStatusType::ubLastRequesterSurgeryTargetID to SoldierID

This commit is contained in:
Asdow
2024-11-17 10:26:01 +02:00
parent f0be44bb42
commit cbf53f8848
2 changed files with 6 additions and 6 deletions
+5 -5
View File
@@ -783,15 +783,15 @@ BOOLEAN InitOverhead( )
gTacticalStatus.uiTimeOfLastInput = GetJA2Clock();
gTacticalStatus.uiTimeSinceDemoOn = GetJA2Clock();
gTacticalStatus.uiCountdownToRestart = GetJA2Clock();
gTacticalStatus.fGoingToEnterDemo = FALSE;
gTacticalStatus.fNOTDOLASTDEMO = FALSE;
gTacticalStatus.fGoingToEnterDemo = FALSE;
gTacticalStatus.fNOTDOLASTDEMO = FALSE;
if (is_networked)
gTacticalStatus.fDidGameJustStart = FALSE;
gTacticalStatus.fDidGameJustStart = FALSE;
else
gTacticalStatus.fDidGameJustStart = TRUE;
gTacticalStatus.fDidGameJustStart = TRUE;
gTacticalStatus.ubLastRequesterTargetID = NO_PROFILE;
gTacticalStatus.ubLastRequesterTargetID = NO_PROFILE;
gTacticalStatus.ubLastRequesterSurgeryTargetID = NOBODY; // SANDRO - reset surgery requester too
for ( cnt = 0; cnt < NUM_PANIC_TRIGGERS; cnt++ )
+1 -1
View File
@@ -158,7 +158,7 @@ struct TacticalStatusType
UINT16 sCreatureTenseQuoteDelay;
UINT32 uiCreatureTenseQuoteLastUpdate;
// SANDRO - added these
UINT16 ubLastRequesterSurgeryTargetID;
SoldierID ubLastRequesterSurgeryTargetID;
UINT8 ubInterruptPending;
// sevenfm: Ctrl+D disable interrupts
BOOLEAN ubDisablePlayerInterrupts;