1
0
Fork 0
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:
fgenesis 2017-01-21 03:33:04 +01:00
parent fb3edf413d
commit a3fb57fde9

View file

@ -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()