hide action stack

if there's a human player and a menu object
This commit is contained in:
Anthony Calosa
2017-03-15 06:31:39 +08:00
parent 00bccd02da
commit 417c1af21e

View File

@@ -1041,7 +1041,8 @@ void ActionStack::Update(float dt)
return;
if (observer->mLayers->actionLayer()->menuObject || observer->LPWeffect)
return;//dont do any of this if a menuobject exist.
if(observer->players[0]->isHuman() || observer->players[1]->isHuman())
return;//dont do any of this if a menuobject exist.
askIfWishesToInterrupt = NULL;
//modal = 0;