aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTorbjörn Andersson2004-07-18 17:47:19 +0000
committerTorbjörn Andersson2004-07-18 17:47:19 +0000
commit0e2c7d6d7fab0fde7a00e57a625ddae9eaadbe2d (patch)
tree3c1d25cf0732acbfebb484e482862ebf3a2b7018
parent006cac577d9993447d31f1d0ca4bc9964c84c347 (diff)
downloadscummvm-rg350-0e2c7d6d7fab0fde7a00e57a625ddae9eaadbe2d.tar.gz
scummvm-rg350-0e2c7d6d7fab0fde7a00e57a625ddae9eaadbe2d.tar.bz2
scummvm-rg350-0e2c7d6d7fab0fde7a00e57a625ddae9eaadbe2d.zip
Let displayMessage() restore the mouse pointer to the standard BS1 arrow
once it's done. svn-id: r14258
-rw-r--r--sword1/control.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/sword1/control.cpp b/sword1/control.cpp
index 0c44945102..d04e6abc47 100644
--- a/sword1/control.cpp
+++ b/sword1/control.cpp
@@ -707,7 +707,9 @@ int Control::displayMessage(const char *altButton, const char *message, ...) {
va_end(va);
GUI::MessageDialog dialog(buf, "OK", altButton);
- return dialog.runModal();
+ int result = dialog.runModal();
+ _mouse->setPointer(MSE_POINTER, 0);
+ return result;
}
void Control::writeSavegameDescriptions(void) {