Report soldier ID in DebugMsg when interrupt ends

This commit is contained in:
Asdow
2023-10-02 22:29:47 +03:00
parent 1586e8fd2b
commit d6c9cb20b2
+3 -3
View File
@@ -1224,11 +1224,11 @@ void EndInterrupt( BOOLEAN fMarkInterruptOccurred )
else
{
ubInterruptedSoldier = LATEST_INTERRUPT_GUY;
DebugMsg( TOPIC_JA2INTERRUPT, DBG_LEVEL_3, String("INTERRUPT: interrupt over, %d's team regains control", ubInterruptedSoldier ) );
pSoldier = MercPtrs[ubInterruptedSoldier];
DebugMsg( TOPIC_JA2INTERRUPT, DBG_LEVEL_3, String("INTERRUPT: interrupt over, soldier %d's team %d regains control", ubInterruptedSoldier, pSoldier->bTeam ) );
cnt = 0;
for ( pTempSoldier = MercPtrs[ cnt ]; cnt < MAX_NUM_SOLDIERS; cnt++,pTempSoldier++)
{