diff options
author | Sven Hesse | 2009-04-27 18:56:28 +0000 |
---|---|---|
committer | Sven Hesse | 2009-04-27 18:56:28 +0000 |
commit | c88b077fcc9f8f06b36f882285f14e0fe7a8a5a6 (patch) | |
tree | 7dbe6d1cbe94f87665225911e9b1bcb95e267941 /engines/gob/game_v6.cpp | |
parent | f177c7142c996fbeed564fe06316f5bc6f6b6914 (diff) | |
download | scummvm-rg350-c88b077fcc9f8f06b36f882285f14e0fe7a8a5a6.tar.gz scummvm-rg350-c88b077fcc9f8f06b36f882285f14e0fe7a8a5a6.tar.bz2 scummvm-rg350-c88b077fcc9f8f06b36f882285f14e0fe7a8a5a6.zip |
Some minor clean-up
svn-id: r40166
Diffstat (limited to 'engines/gob/game_v6.cpp')
-rw-r--r-- | engines/gob/game_v6.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/engines/gob/game_v6.cpp b/engines/gob/game_v6.cpp index 739531d899..40722676d1 100644 --- a/engines/gob/game_v6.cpp +++ b/engines/gob/game_v6.cpp @@ -37,7 +37,7 @@ namespace Gob { Game_v6::Game_v6(GobEngine *vm) : Game_v2(vm) { - _dword_63E44 = 0; + _someTimeDly = 0; } // flagbits: 5 = freeInterVariables, 6 = skipPlay @@ -266,7 +266,7 @@ int16 Game_v6::checkCollisions(byte handleMouse, int16 deltaTime, int16 *pResId, return 0; } - sub_1BA78(); + collSubReenter(); if (!_vm->_draw->_noInvalidated) { if (handleMouse != 0) _vm->_draw->animateCursor(-1); @@ -345,7 +345,7 @@ int16 Game_v6::checkCollisions(byte handleMouse, int16 deltaTime, int16 *pResId, if ((_lastCollKey != 0) && (_lastCollId & 0x8000)) collAreaSub(_lastCollAreaIndex, 1); } else - sub_1BA78(); + collSubReenter(); } if ((deltaTime == -2) && (key == 0) && (_mouseButtons == 0)) { @@ -1022,7 +1022,7 @@ void Game_v6::collSub(uint16 offset) { _shouldPushColls = 0; _vm->_global->_inter_execPtr = savedIP; - if ((_vm->_util->getTimeKey() - _dword_63E44) > 500) + if ((_vm->_util->getTimeKey() - _someTimeDly) > 500) setCollisions(0); } @@ -1135,7 +1135,7 @@ int16 Game_v6::checkMousePoint(int16 all, int16 *resId, int16 *resIndex) { return 0; } -void Game_v6::sub_1BA78() { +void Game_v6::collSubReenter() { int16 lastCollAreaIndex = _lastCollAreaIndex; int16 lastCollId = _lastCollId; int16 collKey = checkMousePoint(1, &_lastCollId, &_lastCollAreaIndex); |