diff options
Diffstat (limited to 'engines/tony/font.cpp')
-rw-r--r-- | engines/tony/font.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/engines/tony/font.cpp b/engines/tony/font.cpp index 122c529de3..a567fe20cd 100644 --- a/engines/tony/font.cpp +++ b/engines/tony/font.cpp @@ -42,6 +42,7 @@ namespace Tony { RMFont::RMFont() { _letter = NULL; + _nLetters = _fontDimx = _fontDimy = _dimx = _dimy = 0; } RMFont::~RMFont() { @@ -1993,7 +1994,7 @@ void RMText::draw(CORO_PARAM, RMGfxTargetBuffer &bigBuf, RMGfxPrimitive *prim) { \****************************************************************************/ RMTextDialog::RMTextDialog() : RMText() { - _startTime = 0; + _time = _startTime = 0; _dst = RMPoint(0, 0); _bSkipStatus = true; @@ -2327,6 +2328,9 @@ RMDialogChoice::RMDialogChoice() { _hUnreg = CoroScheduler.createEvent(false, false); _bRemoveFromOT = false; + + _curAdded = 0; + _bShow = false; } RMDialogChoice::~RMDialogChoice() { |