diff options
author | Andrei Karas <akaras@inbox.ru> | 2012-10-08 20:52:00 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2012-10-08 20:52:00 +0300 |
commit | b639270b2854e2d069bbff9b888dfeb159f9b400 (patch) | |
tree | 07cafe4ccf666a63ded20a0d314004bea4b40f3e /src/net/tmwa/npchandler.cpp | |
parent | 196cc38da19b867eaa9419343dd6ecd8212af354 (diff) | |
download | manaverse-b639270b2854e2d069bbff9b888dfeb159f9b400.tar.gz manaverse-b639270b2854e2d069bbff9b888dfeb159f9b400.tar.bz2 manaverse-b639270b2854e2d069bbff9b888dfeb159f9b400.tar.xz manaverse-b639270b2854e2d069bbff9b888dfeb159f9b400.zip |
Fix code style.
Diffstat (limited to 'src/net/tmwa/npchandler.cpp')
-rw-r--r-- | src/net/tmwa/npchandler.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/net/tmwa/npchandler.cpp b/src/net/tmwa/npchandler.cpp index 856b67828..3e9fe3822 100644 --- a/src/net/tmwa/npchandler.cpp +++ b/src/net/tmwa/npchandler.cpp @@ -294,7 +294,10 @@ void NpcHandler::processNpcCommand(Net::MessageIn &msg, int npcId) break; case 6: // show avatar if (mDialog) - mDialog->showAvatar(msg.readInt32()); // avatar id + { + mDialog->showAvatar(static_cast<uint16_t>( + msg.readInt32())); // avatar id + } break; case 7: // set avatar direction if (mDialog) |