summaryrefslogtreecommitdiff
path: root/src/net/tmwa/npchandler.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-05-13 22:30:56 +0300
committerAndrei Karas <akaras@inbox.ru>2012-05-13 22:30:56 +0300
commitbbb587c352d48d4774133b56ce4c7f9bfd77c1e7 (patch)
tree971c14035fe8f13c7477523743e515d192423e40 /src/net/tmwa/npchandler.cpp
parent9cae83ad91a9d45fccc617eb9756ea83a5831e65 (diff)
downloadmanaverse-bbb587c352d48d4774133b56ce4c7f9bfd77c1e7.tar.gz
manaverse-bbb587c352d48d4774133b56ce4c7f9bfd77c1e7.tar.bz2
manaverse-bbb587c352d48d4774133b56ce4c7f9bfd77c1e7.tar.xz
manaverse-bbb587c352d48d4774133b56ce4c7f9bfd77c1e7.zip
Fix code style.
Diffstat (limited to 'src/net/tmwa/npchandler.cpp')
-rw-r--r--src/net/tmwa/npchandler.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/net/tmwa/npchandler.cpp b/src/net/tmwa/npchandler.cpp
index 837b83337..378d92dfe 100644
--- a/src/net/tmwa/npchandler.cpp
+++ b/src/net/tmwa/npchandler.cpp
@@ -143,7 +143,7 @@ void NpcHandler::listInput(int npcId, unsigned char value)
{
MessageOut outMsg(CMSG_NPC_LIST_CHOICE);
outMsg.writeInt32(npcId);
- outMsg.writeInt8(static_cast<unsigned char>(value));
+ outMsg.writeInt8(value);
}
void NpcHandler::integerInput(int npcId, int value)