diff options
Diffstat (limited to 'src/net/eathena/petrecv.cpp')
-rw-r--r-- | src/net/eathena/petrecv.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/net/eathena/petrecv.cpp b/src/net/eathena/petrecv.cpp index da209e268..d3823f6e6 100644 --- a/src/net/eathena/petrecv.cpp +++ b/src/net/eathena/petrecv.cpp @@ -183,7 +183,10 @@ void PetRecv::processPetStatus(Net::MessageIn &msg) info->hungry = hungry; info->intimacy = intimacy; info->equip = equip; - info->race = race; + if (msg.getVersion() >= 20081126) + info->race = race; + else + info->race = 0; } void PetRecv::processPetFood(Net::MessageIn &msg) |