moved the gaurds i introduced in r2734 into the function selectAbility() as a static bool as suggested by jean, its much cleaner this way.
This commit is contained in:
@@ -903,7 +903,7 @@ bool ActionStack::CheckUserInput(JButton key)
|
||||
{
|
||||
mCurr = n;
|
||||
mObjects[mCurr]->Entering();
|
||||
DebugTrace ("ACTIONSTACK UP TO mCurr = " << mCurr);
|
||||
DebugTrace("ACTIONSTACK UP TO mCurr = " << mCurr);
|
||||
}
|
||||
}
|
||||
return true;
|
||||
|
||||
Reference in New Issue
Block a user