summaryrefslogtreecommitdiff
path: root/src/net
diff options
context:
space:
mode:
Diffstat (limited to 'src/net')
-rw-r--r--src/net/beinghandler.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/net/beinghandler.cpp b/src/net/beinghandler.cpp
index 3c022af6..4f525e8d 100644
--- a/src/net/beinghandler.cpp
+++ b/src/net/beinghandler.cpp
@@ -265,8 +265,7 @@ void BeingHandler::handleMessage(MessageIn *msg)
int effectType = msg->readInt32();
Being* being = beingManager->findBeing(id);
- effectManager->trigger(effectType, (int) being->getPixelX(),
- (int) being->getPixelY());
+ effectManager->trigger(effectType, being);
break;
}