summaryrefslogtreecommitdiff
path: root/src/net/eathena/npchandler.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-07-14 22:44:37 +0300
committerAndrei Karas <akaras@inbox.ru>2014-07-14 22:44:37 +0300
commite1841e31c606f1d97ea54c3f00f3380db814f3d2 (patch)
treefa9c9b178fe5ba9ca931e67332aef016efa95145 /src/net/eathena/npchandler.cpp
parent72938b640199d03d6092366224d3927d5d2a33b9 (diff)
downloadmanaverse-e1841e31c606f1d97ea54c3f00f3380db814f3d2.tar.gz
manaverse-e1841e31c606f1d97ea54c3f00f3380db814f3d2.tar.bz2
manaverse-e1841e31c606f1d97ea54c3f00f3380db814f3d2.tar.xz
manaverse-e1841e31c606f1d97ea54c3f00f3380db814f3d2.zip
Rename readInt8 into readUInt8 because it really read uint8_t.
Diffstat (limited to 'src/net/eathena/npchandler.cpp')
-rw-r--r--src/net/eathena/npchandler.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/net/eathena/npchandler.cpp b/src/net/eathena/npchandler.cpp
index 75db7396b..297e333cf 100644
--- a/src/net/eathena/npchandler.cpp
+++ b/src/net/eathena/npchandler.cpp
@@ -245,7 +245,7 @@ void NpcHandler::processNpcCutin(Net::MessageIn &msg A_UNUSED,
const int npcId A_UNUSED)
{
msg.readString(64); // image name
- msg.readInt8(); // type
+ msg.readUInt8(); // type
}
void NpcHandler::processNpcViewPoint(Net::MessageIn &msg A_UNUSED,
@@ -254,7 +254,7 @@ void NpcHandler::processNpcViewPoint(Net::MessageIn &msg A_UNUSED,
msg.readInt32(); // type
msg.readInt32(); // x
msg.readInt32(); // y
- msg.readInt8(); // byte
+ msg.readUInt8(); // byte
msg.readInt32(); // color
}