Removed modifications that should not have been part of my previous commit and were causing compilation problems.
This commit is contained in:
@@ -965,17 +965,9 @@ void ActionStack::Update(float dt)
|
||||
}
|
||||
}
|
||||
|
||||
void ActionStack::cancelInterruptOffer(InterruptDecision cancelMode, bool log, Player* cancelMe)
|
||||
void ActionStack::cancelInterruptOffer(InterruptDecision cancelMode, bool log)
|
||||
{
|
||||
int playerId;
|
||||
if(cancelMe != NULL) {
|
||||
if(observer->players[1] == cancelMe)
|
||||
playerId = 1;
|
||||
else
|
||||
playerId = 0;
|
||||
} else {
|
||||
playerId = (observer->isInterrupting == observer->players[1]) ? 1 : 0;
|
||||
}
|
||||
int playerId = (observer->isInterrupting == observer->players[1]) ? 1 : 0;
|
||||
interruptDecision[playerId] = cancelMode;
|
||||
askIfWishesToInterrupt = NULL;
|
||||
observer->isInterrupting = NULL;
|
||||
|
||||
Reference in New Issue
Block a user