aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMax Horn2003-09-19 14:13:24 +0000
committerMax Horn2003-09-19 14:13:24 +0000
commitabdc8f1247e81b689584b8aca6f4de70768d065b (patch)
tree59ab272527a2e4a8d87676a303fb3bd464e40bb6
parent26607c00ce5399f547451a70b00cccc34c9c12a4 (diff)
downloadscummvm-rg350-abdc8f1247e81b689584b8aca6f4de70768d065b.tar.gz
scummvm-rg350-abdc8f1247e81b689584b8aca6f4de70768d065b.tar.bz2
scummvm-rg350-abdc8f1247e81b689584b8aca6f4de70768d065b.zip
cleanup
svn-id: r10311
-rw-r--r--scumm/player_v1.cpp4
-rw-r--r--scumm/script_v2.cpp2
-rw-r--r--scumm/script_v5.cpp2
3 files changed, 5 insertions, 3 deletions
diff --git a/scumm/player_v1.cpp b/scumm/player_v1.cpp
index 8324b4947f..3236e2cf63 100644
--- a/scumm/player_v1.cpp
+++ b/scumm/player_v1.cpp
@@ -505,14 +505,14 @@ void Player_V1::nextPCjrCmd() {
}
}
-void Player_V1::set_mplex (uint mplex) {
+void Player_V1::set_mplex(uint mplex) {
if (mplex == 0)
mplex = 65536;
_mplex = mplex;
_tick_len = _mplex_step * mplex;
}
-void Player_V1::do_mix (int16 *data, uint len) {
+void Player_V1::do_mix(int16 *data, uint len) {
mutex_up();
uint step;
diff --git a/scumm/script_v2.cpp b/scumm/script_v2.cpp
index 3034fd1d37..267ac2a096 100644
--- a/scumm/script_v2.cpp
+++ b/scumm/script_v2.cpp
@@ -879,7 +879,7 @@ void Scumm_v2::o2_verbOps() {
break;
}
- // FIXME - hack!
+ // Force redraw of the modified verb slot
drawVerb(slot, 0);
verbMouseOver(0);
}
diff --git a/scumm/script_v5.cpp b/scumm/script_v5.cpp
index e8770fb9f8..484102519f 100644
--- a/scumm/script_v5.cpp
+++ b/scumm/script_v5.cpp
@@ -2561,6 +2561,8 @@ void Scumm_v5::o5_verbOps() {
error("o5_verbOps: unknown subopcode %d", _opcode & 0x1F);
}
}
+
+ // Force redraw of the modified verb slot
drawVerb(slot, 0);
verbMouseOver(0);
}