mirror of
https://github.com/AquariaOSE/Aquaria.git
synced 2025-10-06 14:22:33 +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
|
@ -507,8 +507,7 @@ Animation* AnimationLayer::getCurrentAnimation()
|
|||
{
|
||||
std::ostringstream os;
|
||||
os << "skel: " << s->filenameLoaded << " currentAnimation: " << currentAnimation << " is out of range\n error in anim file?";
|
||||
errorLog(os.str());
|
||||
exit(-1);
|
||||
exit_error(os.str());
|
||||
return 0;
|
||||
}
|
||||
return &s->animations[currentAnimation];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue