Fixed compilation for now.
svn-id: r36179
This commit is contained in:
parent
784c99b3da
commit
dda109ead3
3 changed files with 8 additions and 4 deletions
|
@ -149,6 +149,10 @@ TIM *TIMInterpreter::load(const char *filename, const Common::Array<const TIMOpc
|
|||
if (!_vm->resource()->exists(filename))
|
||||
return 0;
|
||||
|
||||
for (int i = 0; i < ARRAYSIZE(_animations); ++i)
|
||||
delete _animations[i].wsa;
|
||||
memset(_animations, 0, sizeof(_animations));
|
||||
|
||||
ScriptFileParser file(filename, _vm->resource());
|
||||
if (!file)
|
||||
error("Couldn't open TIM file '%s'", filename);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue