diff options
author | Strangerke | 2014-03-16 14:51:55 +0100 |
---|---|---|
committer | Strangerke | 2014-03-16 14:51:55 +0100 |
commit | 87c457a22313ef60f445aae4792d226262891932 (patch) | |
tree | 5be1c0a0084f91fc155f449350562cc557b2d159 /engines/cine | |
parent | 95728f48904ad20f0a36b33d0bd30e4bccc9fa21 (diff) | |
download | scummvm-rg350-87c457a22313ef60f445aae4792d226262891932.tar.gz scummvm-rg350-87c457a22313ef60f445aae4792d226262891932.tar.bz2 scummvm-rg350-87c457a22313ef60f445aae4792d226262891932.zip |
CINE: Initialize some unitialized variables
Diffstat (limited to 'engines/cine')
-rw-r--r-- | engines/cine/cine.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/engines/cine/cine.cpp b/engines/cine/cine.cpp index 797bc38938..a4af8f2201 100644 --- a/engines/cine/cine.cpp +++ b/engines/cine/cine.cpp @@ -55,6 +55,14 @@ CineEngine::CineEngine(OSystem *syst, const CINEGameDescription *gameDesc) _console = new CineConsole(this); g_cine = this; + + for (int i = 0; i < NUM_FONT_CHARS; i++) { + _textHandler.fontParamTable[i].characterIdx = 0; + _textHandler.fontParamTable[i].characterWidth = 0; + } + _restartRequested = false; + _preLoad = false; + _timerDelayMultiplier = 12; } CineEngine::~CineEngine() { |