From abdc8f1247e81b689584b8aca6f4de70768d065b Mon Sep 17 00:00:00 2001 From: Max Horn Date: Fri, 19 Sep 2003 14:13:24 +0000 Subject: cleanup svn-id: r10311 --- scumm/player_v1.cpp | 4 ++-- scumm/script_v2.cpp | 2 +- scumm/script_v5.cpp | 2 ++ 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); } -- cgit v1.2.3