aboutsummaryrefslogtreecommitdiff
path: root/engines/kyra/lol.cpp
diff options
context:
space:
mode:
authorJohannes Schickel2009-06-21 21:17:41 +0000
committerJohannes Schickel2009-06-21 21:17:41 +0000
commit3424dfda98c59543ec1bea464723dca2221a6965 (patch)
treeb75b3f6e006646e6b408b3b8733266dbe2b0c799 /engines/kyra/lol.cpp
parent8e9de2b7625700f7a1d85e437d40f9ba9bf811a9 (diff)
downloadscummvm-rg350-3424dfda98c59543ec1bea464723dca2221a6965.tar.gz
scummvm-rg350-3424dfda98c59543ec1bea464723dca2221a6965.tar.bz2
scummvm-rg350-3424dfda98c59543ec1bea464723dca2221a6965.zip
Cleanup.
svn-id: r41736
Diffstat (limited to 'engines/kyra/lol.cpp')
-rw-r--r--engines/kyra/lol.cpp4
1 files changed, 1 insertions, 3 deletions
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)) {