diff options
author | Eugenio Favalli <elvenprogrammer@gmail.com> | 2004-09-30 14:07:33 +0000 |
---|---|---|
committer | Eugenio Favalli <elvenprogrammer@gmail.com> | 2004-09-30 14:07:33 +0000 |
commit | 5bb46ab6358834d13f483628eb5ddd43b4c985bc (patch) | |
tree | 4bfdaf98b3afe8d98d6014fd40939c1090fcdd86 /src/gui/char_server.cpp | |
parent | 2355936b926cb16a5e3e582fce43a9f9a237e78e (diff) | |
download | mana-5bb46ab6358834d13f483628eb5ddd43b4c985bc.tar.gz mana-5bb46ab6358834d13f483628eb5ddd43b4c985bc.tar.bz2 mana-5bb46ab6358834d13f483628eb5ddd43b4c985bc.tar.xz mana-5bb46ab6358834d13f483628eb5ddd43b4c985bc.zip |
*** empty log message ***
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)); |