summaryrefslogtreecommitdiff
path: root/src/cObjectHandler.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/cObjectHandler.cpp')
-rw-r--r--src/cObjectHandler.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cObjectHandler.cpp b/src/cObjectHandler.cpp
index 11c02e6..7af0f3c 100644
--- a/src/cObjectHandler.cpp
+++ b/src/cObjectHandler.cpp
@@ -52,7 +52,7 @@ int cObjectHandler::moveObject(int _object, sPos _pos, int _mode)
for(int i = 0; i < coll.idc; i++)
{
if(coll.idv[i] != _object)
- abort += objects[_object]->onCollisionActive(0, objects[coll.idv[0]]->onCollisionPassive(0));
+ abort += objects[_object]->onCollisionActive(_pos, objects[coll.idv[0]]->onCollisionPassive(_pos));
}
}