diff options
Diffstat (limited to 'engines/hdb/hdb.cpp')
-rw-r--r-- | engines/hdb/hdb.cpp | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/engines/hdb/hdb.cpp b/engines/hdb/hdb.cpp index 4b4bc86c21..68f505b931 100644 --- a/engines/hdb/hdb.cpp +++ b/engines/hdb/hdb.cpp @@ -408,25 +408,6 @@ void HDBGame::setTargetXY(int x, int y) { if (p->touchpWait) return; - // Double-Clicking on the player to open inventory? - if (g_hdb->isPPC()) { - if (x == px && y == py) { - static uint32 dblClickTimer = 0; - - if (dblClickTimer) { - debug("Double Click Timer: %d", dblClickTimer); - debug("Click Timer Diff: %d", (int)(g_system->getMillis() - dblClickTimer)); - } - - if (dblClickTimer && ((int)(g_system->getMillis() - dblClickTimer) < (int)(kGameFPS * 5 * 1000 / 60))) { - g_hdb->_window->openInventory(); - dblClickTimer = 0; - } else - dblClickTimer = g_system->getMillis(); - return; - } - } - // If we're attacking...don't do anything else AIState stateList[] = { STATE_ATK_CLUB_UP, STATE_ATK_CLUB_DOWN, STATE_ATK_CLUB_LEFT, STATE_ATK_CLUB_RIGHT, |