summaryrefslogtreecommitdiff
path: root/src/net/ea/npchandler.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-05-29 16:19:21 +0300
committerAndrei Karas <akaras@inbox.ru>2015-05-29 16:19:21 +0300
commit7bdb50605562e47f1d6ae134881c09bd42293be5 (patch)
tree935228722e4eb48f5856abec53be1ec985a0b9d6 /src/net/ea/npchandler.cpp
parent0f9ec2061c4ad6157c3186f1cab9c4d8558980b5 (diff)
downloadmanaverse-7bdb50605562e47f1d6ae134881c09bd42293be5.tar.gz
manaverse-7bdb50605562e47f1d6ae134881c09bd42293be5.tar.bz2
manaverse-7bdb50605562e47f1d6ae134881c09bd42293be5.tar.xz
manaverse-7bdb50605562e47f1d6ae134881c09bd42293be5.zip
Add strong typed int type BeingTypeId.
Diffstat (limited to 'src/net/ea/npchandler.cpp')
-rw-r--r--src/net/ea/npchandler.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/net/ea/npchandler.cpp b/src/net/ea/npchandler.cpp
index bfa3c3f81..878a51552 100644
--- a/src/net/ea/npchandler.cpp
+++ b/src/net/ea/npchandler.cpp
@@ -165,7 +165,7 @@ void NpcHandler::processNpcCommand(Net::MessageIn &msg)
case 6: // show avatar
if (mDialog)
{
- mDialog->showAvatar(id);
+ mDialog->showAvatar(fromInt(id, BeingTypeId));
}
break;
case 7: // set avatar direction