--- deliantra/server/socket/request.C 2006/12/13 21:27:09 1.29 +++ deliantra/server/socket/request.C 2006/12/14 00:01:37 1.30 @@ -795,8 +795,9 @@ return; } - packet = GetShort_String (buf); - repeat = GetInt_String (buf + 2); + packet = net_uint16 (buf); + repeat = net_uint32 (buf + 2); + /* -1 is special - no repeat, but don't update */ if (repeat != -1) pl->count = repeat;