aboutsummaryrefslogtreecommitdiff
path: root/engines/toon
diff options
context:
space:
mode:
authorStrangerke2016-06-13 07:12:48 +0200
committerStrangerke2016-06-13 07:13:46 +0200
commit010e676184efceac039a7e26927996dcae441c74 (patch)
treeef17ec2145d5d6d2f2cd30a2645119a965e06b54 /engines/toon
parentb51d60f85c70554502445ba4bd59b8fba41ef40b (diff)
downloadscummvm-rg350-010e676184efceac039a7e26927996dcae441c74.tar.gz
scummvm-rg350-010e676184efceac039a7e26927996dcae441c74.tar.bz2
scummvm-rg350-010e676184efceac039a7e26927996dcae441c74.zip
TOON: Fix uninitialized variable
Diffstat (limited to 'engines/toon')
-rw-r--r--engines/toon/toon.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/engines/toon/toon.cpp b/engines/toon/toon.cpp
index 137562a91d..837339402c 100644
--- a/engines/toon/toon.cpp
+++ b/engines/toon/toon.cpp
@@ -1298,6 +1298,7 @@ ToonEngine::ToonEngine(OSystem *syst, const ADGameDescription *gameDescription)
_scriptState[i].running = false;
}
_currentScriptRegion = 0;
+ _currentFont = nullptr;
}
ToonEngine::~ToonEngine() {