Skip to content

Commit

Permalink
DM: Remove unnecessary memset from setMousePointerFromSpriteData
Browse files Browse the repository at this point in the history
  • Loading branch information
Bendegúz Nagy committed Aug 26, 2016
1 parent 2b1b784 commit a0543f7
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion engines/dm/eventman.cpp
Expand Up @@ -992,7 +992,6 @@ bool EventManager::f375_processType80_clickDungeonView_isLeaderHandObjThrown(int

void EventManager::setMousePointerFromSpriteData(byte* mouseSprite) {
byte bitmap[16 * 18];
memset(bitmap, 0, 16 * 18);
for (int16 imgPart = 0; imgPart < 4; ++imgPart) {
for (byte *line = mouseSprite + 72 * imgPart, *pixel = bitmap; line < mouseSprite + 72 * (imgPart + 1); line += 4) {
uint16 words[2];
Expand Down

0 comments on commit a0543f7

Please sign in to comment.