diff options
Diffstat (limited to 'engines/neverhood/module.cpp')
-rw-r--r-- | engines/neverhood/module.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/engines/neverhood/module.cpp b/engines/neverhood/module.cpp index c46aa79ea2..03109c0c86 100644 --- a/engines/neverhood/module.cpp +++ b/engines/neverhood/module.cpp @@ -52,17 +52,17 @@ uint32 Module::handleMessage(int messageNum, const MessageParam ¶m, Entity * _field24 = -1; _field26 = -1; _field28 = -1; - _field20 = param._integer; + _field20 = param.asInteger(); _done = true; return 0; case 0x100A: - _field24 = (int16)param._integer; + _field24 = (int16)param.asInteger(); return 0; case 0x1023: - _field26 = (int16)param._integer; + _field26 = (int16)param.asInteger(); return 0; case 0x1024: - _field28 = (int16)param._integer; + _field28 = (int16)param.asInteger(); return 0; default: if (_childObject && sender == _parentModule) |