diff options
Diffstat (limited to 'src/serialize')
-rw-r--r-- | src/serialize/characterdata.hpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/serialize/characterdata.hpp b/src/serialize/characterdata.hpp index 09a8658a..ac281e70 100644 --- a/src/serialize/characterdata.hpp +++ b/src/serialize/characterdata.hpp @@ -94,7 +94,9 @@ void deserializeCharacterData(T &data, MessageIn &msg) for (int i = 0; i < skillSize; ++i) { - data.setExperience(msg.readShort(), msg.readLong()); + int skill = msg.readShort(); + int level = msg.readLong(); + data.setExperience(skill,level); } data.setMapId(msg.readShort()); |