summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorErik Schilling <ablu.erikschilling@googlemail.com>2013-05-12 11:25:24 +0200
committerErik Schilling <ablu.erikschilling@googlemail.com>2013-05-12 11:25:24 +0200
commit2ac89cae8f19dc2ca8e5211974df18359e3f9536 (patch)
tree5958574d3a93776cfc015899054240d6fc8f4d26
parent323b14db576e9fec6f714f907aec07264a47d57a (diff)
downloadmanaserv-2ac89cae8f19dc2ca8e5211974df18359e3f9536.tar.gz
manaserv-2ac89cae8f19dc2ca8e5211974df18359e3f9536.tar.xz
manaserv-2ac89cae8f19dc2ca8e5211974df18359e3f9536.zip
fixed on being inform message
-rw-r--r--src/game-server/state.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game-server/state.cpp b/src/game-server/state.cpp
index e16a4e7..d2aaff4 100644
--- a/src/game-server/state.cpp
+++ b/src/game-server/state.cpp
@@ -229,7 +229,7 @@ static void informPlayer(MapComposite *map, Entity *p)
if (oflags & UPDATEFLAG_ABILITY_ON_BEING)
{
- MessageOut abilityMsg(GPMSG_BEING_ABILITY_POINT);
+ MessageOut abilityMsg(GPMSG_BEING_ABILITY_BEING);
abilityMsg.writeInt16(oid);
auto *abilityComponent = o->getComponent<AbilityComponent>();
abilityMsg.writeInt8(abilityComponent->getLastUsedAbilityId());