--- deliantra/Deliantra-Client/Client.xs 2006/12/09 02:21:25 1.167 +++ deliantra/Deliantra-Client/Client.xs 2007/03/04 19:36:08 1.170 @@ -1,6 +1,6 @@ #ifdef _WIN32 # define WIN32_LEAN_AND_MEAN -# define _WIN32_WINNT 0x0500 // needed to get win2000 api calls +# define NTDDI_VERSION NTDDI_WIN2K // needed to get win2000 api calls # include # include # include @@ -16,6 +16,7 @@ # undef pipe #endif +#include #include #include #include @@ -494,6 +495,12 @@ assert (SDLK_MODIFIER_MAX == SDLK_COMPOSE); } +void +weaken (SV *rv) + PROTOTYPE: $ + CODE: + sv_rvweaken (rv); + int in_destruct () CODE: @@ -1407,10 +1414,10 @@ } else if (cmd == 6) // monster width cell->stat_width = *data++ + 1; - else if (cmd == 0x47) // monster width + else if (cmd == 0x47) { - if (*data == 4) - ; // decode player tag + if (*data == 8) + ; // decode player uuid data += *data + 1; }