diff options
author | Torbjörn Andersson | 2004-06-10 06:48:50 +0000 |
---|---|---|
committer | Torbjörn Andersson | 2004-06-10 06:48:50 +0000 |
commit | 3c70f5a85c6619d60d1f58b821c5cc3fd866ce74 (patch) | |
tree | 34c29418ef0a4aebd59b2c89e75d83de705de890 /sword2/function.cpp | |
parent | dabb32ce1ac3ffd961c2cb222d6f48e4e29f6356 (diff) | |
download | scummvm-rg350-3c70f5a85c6619d60d1f58b821c5cc3fd866ce74.tar.gz scummvm-rg350-3c70f5a85c6619d60d1f58b821c5cc3fd866ce74.tar.bz2 scummvm-rg350-3c70f5a85c6619d60d1f58b821c5cc3fd866ce74.zip |
If the 'time' parameter to displayMsg() is 0, wait until the user clicks
or presses a button. This is how displayMsg() was always used, so the only
difference is that the code to check for events is no longer outside the
function.
In the process, it turned out that removeMsg() was probably unnecessary so
I have removed it. May cause regressions, but we can deal with them later.
svn-id: r13953
Diffstat (limited to 'sword2/function.cpp')
-rw-r--r-- | sword2/function.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/sword2/function.cpp b/sword2/function.cpp index 9feca89f3e..4f95b89852 100644 --- a/sword2/function.cpp +++ b/sword2/function.cpp @@ -304,7 +304,6 @@ int32 Logic::fnDisplayMsg(int32 *params) { _vm->displayMsg(_vm->fetchTextLine(_vm->_resman->openResource(text_res), local_text) + 2, 3); _vm->_resman->closeResource(text_res); - _vm->removeMsg(); return IR_CONT; } |