diff options
author | Strangerke | 2012-06-14 00:11:56 +0200 |
---|---|---|
committer | Strangerke | 2012-06-14 00:12:45 +0200 |
commit | 42a322d671a27406a9dd993f82675dda0ee4780b (patch) | |
tree | b2da7f1959a2c38deb153340cb649eda50462de1 /engines/tony/font.cpp | |
parent | 746dcf33da340702157dc7aca0f01265648189be (diff) | |
download | scummvm-rg350-42a322d671a27406a9dd993f82675dda0ee4780b.tar.gz scummvm-rg350-42a322d671a27406a9dd993f82675dda0ee4780b.tar.bz2 scummvm-rg350-42a322d671a27406a9dd993f82675dda0ee4780b.zip |
TONY: Silent some CppCheck warnings
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() { |