diff options
author | Max Horn | 2009-02-27 02:24:29 +0000 |
---|---|---|
committer | Max Horn | 2009-02-27 02:24:29 +0000 |
commit | c053ef8c87d55d7e534c585c49abe075f27405ad (patch) | |
tree | 0763df325179bf0e692c55223d9f5f67ad06c9e2 /engines | |
parent | 479751104f6496d42057cd0419c7b78b5d289ca0 (diff) | |
download | scummvm-rg350-c053ef8c87d55d7e534c585c49abe075f27405ad.tar.gz scummvm-rg350-c053ef8c87d55d7e534c585c49abe075f27405ad.tar.bz2 scummvm-rg350-c053ef8c87d55d7e534c585c49abe075f27405ad.zip |
SCI: Remove empty include/ dir
svn-id: r38922
Diffstat (limited to 'engines')
-rw-r--r-- | engines/sci/engine/game.cpp | 17 |
1 files changed, 6 insertions, 11 deletions
diff --git a/engines/sci/engine/game.cpp b/engines/sci/engine/game.cpp index 8bec94736b..04a410d51b 100644 --- a/engines/sci/engine/game.cpp +++ b/engines/sci/engine/game.cpp @@ -663,8 +663,7 @@ int game_init(EngineState *s) { } int game_exit(EngineState *s) { - if (s->execution_stack) - free(s->execution_stack); + free(s->execution_stack); if (!s->successor) { sfx_exit(&s->sound); @@ -674,19 +673,15 @@ int game_exit(EngineState *s) { delete s->seg_manager; - if (s->synonyms_nr) { - free(s->synonyms); - s->synonyms = NULL; - s->synonyms_nr = 0; - } + free(s->synonyms); + s->synonyms = NULL; + s->synonyms_nr = 0; sciprintf("Freeing miscellaneous data...\n"); // TODO Free parser segment here - if (send_calls_allocated) { - free(send_calls); - send_calls_allocated = 0; - } + free(send_calls); + send_calls_allocated = 0; // TODO Free scripts here |