mirror of
https://github.com/AquariaOSE/Aquaria.git
synced 2024-11-25 09:44:02 +00:00
un-recurse a thing
This commit is contained in:
parent
fb3edf413d
commit
a3fb57fde9
1 changed files with 1 additions and 4 deletions
|
@ -218,11 +218,8 @@ void StateManager::pushState(const std::string &s)
|
|||
|
||||
void StateManager::popAllStates()
|
||||
{
|
||||
if (!states_empty())
|
||||
{
|
||||
while (!states_empty())
|
||||
popState();
|
||||
popAllStates();
|
||||
}
|
||||
}
|
||||
|
||||
void StateManager::popState()
|
||||
|
|
Loading…
Reference in a new issue