summaryrefslogtreecommitdiff
path: root/src/net/beinghandler.cpp
diff options
context:
space:
mode:
authorIra Rice <irarice@gmail.com>2008-12-26 22:45:24 -0700
committerIra Rice <irarice@gmail.com>2008-12-26 22:45:24 -0700
commit4854bc433cd74bb072d02e25aa416f06ff6257b4 (patch)
tree13fbae3ee50ea27829d31fb328d0ef761733dcc9 /src/net/beinghandler.cpp
parent0289c04b5454b42676f3b6beb68571e71617500c (diff)
downloadmana-4854bc433cd74bb072d02e25aa416f06ff6257b4.tar.gz
mana-4854bc433cd74bb072d02e25aa416f06ff6257b4.tar.bz2
mana-4854bc433cd74bb072d02e25aa416f06ff6257b4.tar.xz
mana-4854bc433cd74bb072d02e25aa416f06ff6257b4.zip
Fixed a potential leak in setup, changed the default border color to
white for wallpapers (matches our wallpapers better), and fixed the effect manager. Signed-off-by: Ira Rice <irarice@gmail.com>
Diffstat (limited to 'src/net/beinghandler.cpp')
-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;
}