diff options
author | Filippos Karapetis | 2012-12-17 19:01:03 +0200 |
---|---|---|
committer | Filippos Karapetis | 2012-12-17 19:01:03 +0200 |
commit | e9e2d6ccb964e4b8db77f8d65bc0f0f01f48c95a (patch) | |
tree | ab3877e657738233e9a2b93135b74f4e6ce5bee8 | |
parent | 9e40a91b26fd6f4bab59ecd27f8777751c9cc223 (diff) | |
download | scummvm-rg350-e9e2d6ccb964e4b8db77f8d65bc0f0f01f48c95a.tar.gz scummvm-rg350-e9e2d6ccb964e4b8db77f8d65bc0f0f01f48c95a.tar.bz2 scummvm-rg350-e9e2d6ccb964e4b8db77f8d65bc0f0f01f48c95a.zip |
MOHAWK: Initialize the empty cursor before setting it inside setCursor()
-rw-r--r-- | engines/mohawk/cursors.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/mohawk/cursors.cpp b/engines/mohawk/cursors.cpp index 7962379a5c..cdb4e1482f 100644 --- a/engines/mohawk/cursors.cpp +++ b/engines/mohawk/cursors.cpp @@ -106,7 +106,7 @@ void MystCursorManager::hideCursor() { void MystCursorManager::setCursor(uint16 id) { // Zero means empty cursor if (id == 0) { - static const byte emptyCursor[4]; + static const byte emptyCursor[4] = { 0, 0, 0, 0 }; CursorMan.replaceCursor(&emptyCursor, 2, 2, 0, 0, 0); return; } |