From edf35284977d0b666eb796d028ea54278c9736c9 Mon Sep 17 00:00:00 2001 From: Marisa-Chan Date: Fri, 19 Dec 2014 16:41:00 +0600 Subject: ZVISION: Fix uninitialized scalar field (CID 1257073) --- engines/zvision/graphics/cursors/cursor_manager.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'engines') 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; -- cgit v1.2.3