From 3424dfda98c59543ec1bea464723dca2221a6965 Mon Sep 17 00:00:00 2001 From: Johannes Schickel Date: Sun, 21 Jun 2009 21:17:41 +0000 Subject: Cleanup. svn-id: r41736 --- engines/kyra/lol.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'engines/kyra/lol.cpp') diff --git a/engines/kyra/lol.cpp b/engines/kyra/lol.cpp index 399b051ba0..f3635768ff 100644 --- a/engines/kyra/lol.cpp +++ b/engines/kyra/lol.cpp @@ -82,7 +82,7 @@ LoLEngine::LoLEngine(OSystem *system, const GameFlags &flags) : KyraEngine_v1(sy _curTlkFile = -1; _lastSpeaker = _lastSpeechId = _nextSpeechId = _nextSpeaker = -1; - memset(_moneyColumnHeight, 0, 5); + memset(_moneyColumnHeight, 0, sizeof(_moneyColumnHeight)); _credits = 0; _itemsInPlay = 0; @@ -670,8 +670,6 @@ void LoLEngine::checkFloatingPointerRegions() { int t = -1; Common::Point p = getMousePos(); - int mouseX = p.x; - int mouseY = p.y; if (!(_updateFlags & 4) & !_floatingCursorControl) { if (posWithinRect(p.x, p.y, 96, 0, 303, 136)) { -- cgit v1.2.3