diff options
author | Marisa-Chan | 2014-12-19 16:41:00 +0600 |
---|---|---|
committer | Marisa-Chan | 2014-12-19 16:41:00 +0600 |
commit | edf35284977d0b666eb796d028ea54278c9736c9 (patch) | |
tree | 8827bbcd128c21bde27d6150601527f532eed04e /engines | |
parent | 704a4b3400e07ce5d86e7db7e63c3cc89da383e9 (diff) | |
download | scummvm-rg350-edf35284977d0b666eb796d028ea54278c9736c9.tar.gz scummvm-rg350-edf35284977d0b666eb796d028ea54278c9736c9.tar.bz2 scummvm-rg350-edf35284977d0b666eb796d028ea54278c9736c9.zip |
ZVISION: Fix uninitialized scalar field (CID 1257073)
Diffstat (limited to 'engines')
-rw-r--r-- | engines/zvision/graphics/cursors/cursor_manager.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/engines/zvision/graphics/cursors/cursor_manager.cpp b/engines/zvision/graphics/cursors/cursor_manager.cpp index a20deb26b5..ae13c9f4fc 100644 --- a/engines/zvision/graphics/cursors/cursor_manager.cpp +++ b/engines/zvision/graphics/cursors/cursor_manager.cpp @@ -50,7 +50,8 @@ CursorManager::CursorManager(ZVision *engine, const Graphics::PixelFormat *pixel _pixelFormat(pixelFormat), _cursorIsPushed(false), _item(0), - _lastitem(0) { + _lastitem(0), + _currentCursor(CursorIndex_Idle) { for (int i = 0; i < NUM_CURSORS; i++) { if (_engine->getGameId() == GID_NEMESIS) { Common::String name; |