rendermax: fixed crashes (hopefully for real this time)

develop
Warmist 2014-01-26 01:11:26 +02:00
parent 72259c8eba
commit 372f861010
1 changed files with 1 additions and 1 deletions

@ -82,9 +82,9 @@ IMPLEMENT_VMETHOD_INTERPOSE(dungeon_render_hook, render);
void removeOld()
{
CoreSuspender lock;
if(engine)
{
CoreSuspender lock;
INTERPOSE_HOOK(dwarmode_render_hook,render).apply(false);
INTERPOSE_HOOK(dungeon_render_hook,render).apply(false);
delete engine;