From c053ef8c87d55d7e534c585c49abe075f27405ad Mon Sep 17 00:00:00 2001 From: Max Horn Date: Fri, 27 Feb 2009 02:24:29 +0000 Subject: SCI: Remove empty include/ dir svn-id: r38922 --- engines/sci/engine/game.cpp | 17 ++++++----------- 1 file 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 -- cgit v1.2.3