mirror of
https://github.com/AquariaOSE/Aquaria.git
synced 2025-10-11 17:01:22 +00:00
Slightly more sensible error/msgbox handling
This commit is contained in:
parent
7faee73f14
commit
26d056d924
15 changed files with 48 additions and 83 deletions
|
@ -288,7 +288,7 @@ void StateManager::registerStateObject(StateObject *stateObject, const std::stri
|
|||
//getNameFromDerivedClassTypeName(c);
|
||||
if (stateObject->name.empty())
|
||||
{
|
||||
fatalError("StateManager::registerStateObject - Empty name.");
|
||||
exit_error("StateManager::registerStateObject - Empty name.");
|
||||
}
|
||||
|
||||
if (!stateObjects[stateObject->name])
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue