hide action stack
if there's a human player and a menu object
This commit is contained in:
@@ -1041,7 +1041,8 @@ void ActionStack::Update(float dt)
|
|||||||
return;
|
return;
|
||||||
|
|
||||||
if (observer->mLayers->actionLayer()->menuObject || observer->LPWeffect)
|
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;
|
askIfWishesToInterrupt = NULL;
|
||||||
//modal = 0;
|
//modal = 0;
|
||||||
|
|||||||
Reference in New Issue
Block a user