diff options
author | Johannes Schickel | 2012-02-09 23:08:13 +0100 |
---|---|---|
committer | Johannes Schickel | 2012-02-09 23:10:12 +0100 |
commit | 6b16fe9423af831cc2d2c4448410c80b18a07541 (patch) | |
tree | 063d4fdba8638595b82479464243074548b5bc71 /engines/tsage/ringworld2 | |
parent | 0864edea54c709c00948ac335430280f4a5376c9 (diff) | |
download | scummvm-rg350-6b16fe9423af831cc2d2c4448410c80b18a07541.tar.gz scummvm-rg350-6b16fe9423af831cc2d2c4448410c80b18a07541.tar.bz2 scummvm-rg350-6b16fe9423af831cc2d2c4448410c80b18a07541.zip |
TSAGE: Fix compilation by passing non-POD via pointer through "...".
The other uses seem to pass Common::Point via a pointer to the object too,
so this seems fine to do here too.
Diffstat (limited to 'engines/tsage/ringworld2')
-rw-r--r-- | engines/tsage/ringworld2/ringworld2_scenes1.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/tsage/ringworld2/ringworld2_scenes1.cpp b/engines/tsage/ringworld2/ringworld2_scenes1.cpp index bf25c148f8..e1357762da 100644 --- a/engines/tsage/ringworld2/ringworld2_scenes1.cpp +++ b/engines/tsage/ringworld2/ringworld2_scenes1.cpp @@ -2759,7 +2759,7 @@ void Scene1337::Action4::signal() { scene->_aSound2.play(61); NpcMover *mover = new NpcMover(); - scene->_item2._object1.addMover(mover, scene->_arrunkObj1337[scene->_field423E]._fieldB94, this); + scene->_item2._object1.addMover(mover, &scene->_arrunkObj1337[scene->_field423E]._fieldB94, this); scene->_arrunkObj1337[scene->_field423E]._arr1[0]._field34 = scene->_field3E28[scene->_field3E24]; scene->_field3E28[scene->_field3E24] = 0; |