diff options
author | Travis Howell | 2009-03-08 13:18:07 +0000 |
---|---|---|
committer | Travis Howell | 2009-03-08 13:18:07 +0000 |
commit | 1937dca584ab38db4af7084649a59ccd3c3bf1ca (patch) | |
tree | c85975feb80ed97afb6e878f16cc4de7b480a278 /engines/agos/cursor.cpp | |
parent | 275cf8a383a58262c939b7662f1b7ec02f69cb86 (diff) | |
download | scummvm-rg350-1937dca584ab38db4af7084649a59ccd3c3bf1ca.tar.gz scummvm-rg350-1937dca584ab38db4af7084649a59ccd3c3bf1ca.tar.bz2 scummvm-rg350-1937dca584ab38db4af7084649a59ccd3c3bf1ca.zip |
Cleanup.
svn-id: r39222
Diffstat (limited to 'engines/agos/cursor.cpp')
-rw-r--r-- | engines/agos/cursor.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/engines/agos/cursor.cpp b/engines/agos/cursor.cpp index 88c0105fc1..e6231abd62 100644 --- a/engines/agos/cursor.cpp +++ b/engines/agos/cursor.cpp @@ -497,7 +497,7 @@ void AGOSEngine_PN::handleMouseMoved() { } else { _hitCalled = 1; } - _mouseDown = 0; + _dragCount = 0; } if (_rightClick == true) { @@ -510,9 +510,9 @@ void AGOSEngine_PN::handleMouseMoved() { _needHitAreaRecalc++; if (_leftButton != 0) { - if (_mouseDown <= 20) { - _mouseDown++; - if (_mouseDown > 20) { + if (_dragCount <= 20) { + _dragCount++; + if (_dragCount > 20) { if (_videoLockOut & 0x10) { if (_oneClick == 0) _hitCalled = 3; |