Fix regression in r45414.

svn-id: r45495
This commit is contained in:
Johannes Schickel 2009-10-29 00:14:09 +00:00
parent 8150fc07bc
commit 0a1a4c7eb4

View File

@ -186,9 +186,10 @@ TIM *TIMInterpreter::load(const char *filename, const Common::Array<const TIMOpc
_tim->isLoLOutro = (_vm->gameFlags().gameID == GI_LOL) && !scumm_stricmp(filename, "LOLFINAL.TIM");
_tim->lolCharacter = 0;
_tim = 0;
return _tim;
TIM *r = _tim;
_tim = 0;
return r;
}
void TIMInterpreter::unload(TIM *&tim) const {