ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/deliantra/server/socket/request.C
(Generate patch)

Comparing deliantra/server/socket/request.C (file contents):
Revision 1.85 by root, Sat Apr 14 14:47:48 2007 UTC vs.
Revision 1.88 by root, Tue Apr 24 00:42:03 2007 UTC

611 { 611 {
612 case ST_PLAYING: 612 case ST_PLAYING:
613 LOG (llevError, "Got reply message with ST_PLAYING input state\n"); 613 LOG (llevError, "Got reply message with ST_PLAYING input state\n");
614 break; 614 break;
615 615
616 case ST_CHANGE_CLASS:
617 key_change_class (pl->ob, buf[0]);
618 break;
619
620 case ST_GET_PARTY_PASSWORD: /* Get password for party */ 616 case ST_GET_PARTY_PASSWORD: /* Get password for party */
621 receive_party_password (pl->ob, 13); 617 receive_party_password (pl->ob, 13);
622 break; 618 break;
623 619
624 default: 620 default:
1183 1179
1184 mapspace &ms = m->at (nx, ny); 1180 mapspace &ms = m->at (nx, ny);
1185 1181
1186 if (socket.extmap) 1182 if (socket.extmap)
1187 { 1183 {
1188 uint8 stat_hp = 0; 1184 uint8 stat_hp = 0;
1189 uint8 stat_width = 0; 1185 uint8 stat_width = 0;
1190 uint8 flags = 0; 1186 uint8 flags = 0;
1191 UUID player = 0; 1187 tag_t player = 0;
1192 1188
1193 // send hp information, if applicable 1189 // send hp information, if applicable
1194 if (object *op = ms.faces_obj [0]) 1190 if (object *op = ms.faces_obj [0])
1195 { 1191 {
1196 if (op->head || op->invisible) 1192 if (op->head || op->invisible)
1237 1233
1238 mask |= 0x8; 1234 mask |= 0x8;
1239 *last_ext |= 0x80; 1235 *last_ext |= 0x80;
1240 last_ext = &sl[sl.length ()]; 1236 last_ext = &sl[sl.length ()];
1241 1237
1242 sl << uint8 (0x47) << uint8 (8) << (uint64)player; 1238 sl << uint8 (0x47) << uint8 (4) << (uint32)player;
1243 } 1239 }
1244 1240
1245 if (lastcell.flags != flags) 1241 if (lastcell.flags != flags)
1246 { 1242 {
1247 lastcell.flags = flags; 1243 lastcell.flags = flags;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines