diff options
Diffstat (limited to 'src/gui/char_server.cpp')
-rw-r--r-- | src/gui/char_server.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/char_server.cpp b/src/gui/char_server.cpp index 4fbb2267..752604f1 100644 --- a/src/gui/char_server.cpp +++ b/src/gui/char_server.cpp @@ -94,7 +94,7 @@ void server_char_server() { if(RFIFOW(0)==0x006b) { while(in_size<RFIFOW(2))flush(); n_character = (RFIFOW(2)-24)/106; - char_info = (CHAR_INFO *)malloc(sizeof(CHAR_INFO)*n_character); + char_info = (PLAYER_INFO *)malloc(sizeof(PLAYER_INFO)*n_character); for(int i=0;i<n_character;i++) { char_info[i].id = RFIFOL(24+106*i); strcpy(char_info[i].name, RFIFOP(24+106*i+74)); |