diff options
Diffstat (limited to 'engines/neverhood/gamemodule.cpp')
-rw-r--r-- | engines/neverhood/gamemodule.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/engines/neverhood/gamemodule.cpp b/engines/neverhood/gamemodule.cpp index c63131dcf3..47fff17cda 100644 --- a/engines/neverhood/gamemodule.cpp +++ b/engines/neverhood/gamemodule.cpp @@ -78,17 +78,17 @@ uint32 GameModule::handleMessage(int messageNum, const MessageParam ¶m, Enti _field24 = -1; _field26 = -1; _field28 = -1; - _field20 = param._integer; + _field20 = param.asInteger(); _done = true; return messageResult; case 0x100A: - _field24 = (int16)param._integer; + _field24 = (int16)param.asInteger(); return messageResult; case 0x101F: _field2C = true; return messageResult; case 0x1023: - _field26 = (int16)param._integer; + _field26 = (int16)param.asInteger(); return messageResult; } return messageResult; |