From 6c702094a8a2907b6e177124f424306b7a5a40ef Mon Sep 17 00:00:00 2001 From: Arnaud Boutonné Date: Sat, 30 Oct 2010 20:48:54 +0000 Subject: HUGO: Free some more memory before exiting - suppress two useless variables - initialize some variables svn-id: r53956 --- engines/hugo/hugo.h | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'engines/hugo/hugo.h') diff --git a/engines/hugo/hugo.h b/engines/hugo/hugo.h index 7a73c70622..0964029cab 100644 --- a/engines/hugo/hugo.h +++ b/engines/hugo/hugo.h @@ -139,13 +139,12 @@ public: char **_textSchedule; char **_textUtil; char ***_arrayNouns; - uint16 _arrayNounsSize; char ***_arrayVerbs; - uint16 _arrayVerbsSize; uint16 **_arrayReqs; hotspot_t *_hotspots; int16 *_invent; uses_t *_uses; + uint16 _usesSize; background_t *_catchallList; background_t **_backgroundObjects; uint16 _backgroundObjectsSize; @@ -293,7 +292,7 @@ private: int _maxscore; // Holds maximum score char **loadTextsVariante(Common::File &in, uint16 *arraySize); - char ***loadTextsArray(Common::File &in, uint16 *arraySize); + char ***loadTextsArray(Common::File &in); uint16 **loadLongArray(Common::File &in); char **loadTexts(Common::File &in); void freeTexts(char **ptr); -- cgit v1.2.3