aboutsummaryrefslogtreecommitdiff
path: root/engines/titanic/game/missiveomat_button.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/titanic/game/missiveomat_button.cpp')
-rw-r--r--engines/titanic/game/missiveomat_button.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/titanic/game/missiveomat_button.cpp b/engines/titanic/game/missiveomat_button.cpp
index b7ad7f8f6f..8c1f6c51c6 100644
--- a/engines/titanic/game/missiveomat_button.cpp
+++ b/engines/titanic/game/missiveomat_button.cpp
@@ -40,7 +40,7 @@ void CMissiveOMatButton::save(SimpleFile *file, int indent) {
void CMissiveOMatButton::load(SimpleFile *file) {
file->readNumber();
- _buttonId = file->readNumber();
+ _buttonId = (MissiveOMatAction)file->readNumber();
CEditControl::load(file);
}