aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBendegúz Nagy2016-07-29 15:50:38 +0200
committerBendegúz Nagy2016-08-26 23:02:22 +0200
commit734abf8d48a1a0d9c00d27801d6be9e54854d702 (patch)
tree11f0f58654d0c3b6dc8f990afdcc0a302f390037
parentac9f4d7d4473e871db3e55c044eb109b339d08c3 (diff)
downloadscummvm-rg350-734abf8d48a1a0d9c00d27801d6be9e54854d702.tar.gz
scummvm-rg350-734abf8d48a1a0d9c00d27801d6be9e54854d702.tar.bz2
scummvm-rg350-734abf8d48a1a0d9c00d27801d6be9e54854d702.zip
DM: Adjust idle delay when renaming champion
-rw-r--r--engines/dm/TODOs/todo.txt1
-rw-r--r--engines/dm/champion.cpp2
-rw-r--r--engines/dm/dm.cpp2
3 files changed, 1 insertions, 4 deletions
diff --git a/engines/dm/TODOs/todo.txt b/engines/dm/TODOs/todo.txt
index 4fb935fad9..b6e3ad8e27 100644
--- a/engines/dm/TODOs/todo.txt
+++ b/engines/dm/TODOs/todo.txt
@@ -45,4 +45,3 @@ Finish stuff:
Refactoring
Places implementing mini mainloop and where input doesn't really matter should call discardInput instead of processInput
- While reanming a champion, the mouse lags \ No newline at end of file
diff --git a/engines/dm/champion.cpp b/engines/dm/champion.cpp
index b88864febb..9dcb199358 100644
--- a/engines/dm/champion.cpp
+++ b/engines/dm/champion.cpp
@@ -2327,7 +2327,7 @@ void ChampionMan::f281_renameChampion(Champion* champ) {
{
eventType = _vm->_eventMan->processInput(&event, &event);
_vm->_displayMan->updateScreen();
- _vm->f22_delay(1);
+ //_vm->f22_delay(1);
}
if (eventType == Common::EVENT_LBUTTONDOWN) { /* If left mouse button status has changed */
Common::Point mousePos = _vm->_eventMan->getMousePos();
diff --git a/engines/dm/dm.cpp b/engines/dm/dm.cpp
index dc778aa734..33cfe2fbf3 100644
--- a/engines/dm/dm.cpp
+++ b/engines/dm/dm.cpp
@@ -472,8 +472,6 @@ void DMEngine::f441_processEntrance() {
}
do {
f439_drawEntrance();
- //_eventMan->f77_hideMouse();
- //_eventMan->f77_hideMouse();
_eventMan->f78_showMouse();
_eventMan->f357_discardAllInput();
_g298_newGame = k99_modeWaitingOnEntrance;