mirror of
https://github.com/vcmi/vcmi.git
synced 2024-12-24 22:14:36 +02:00
Fix destructor order
This commit is contained in:
parent
c6feafc367
commit
6314fc0506
@ -246,7 +246,6 @@ void LibClasses::init(bool onlyEssential)
|
||||
|
||||
void LibClasses::clear()
|
||||
{
|
||||
delete generaltexth;
|
||||
delete heroh;
|
||||
delete arth;
|
||||
delete creh;
|
||||
@ -263,6 +262,7 @@ void LibClasses::clear()
|
||||
delete scriptHandler;
|
||||
#endif
|
||||
delete battlefieldsHandler;
|
||||
delete generaltexth;
|
||||
makeNull();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user