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

Comparing deliantra/server/socket/item.C (file contents):
Revision 1.93 by root, Sun Apr 11 23:32:10 2010 UTC vs.
Revision 1.94 by root, Sun Apr 11 23:48:57 2010 UTC

193 { 193 {
194 LOG (llevDebug, "esrv_draw_look called when update_look was not set (player %s)\n", &ob->name); 194 LOG (llevDebug, "esrv_draw_look called when update_look was not set (player %s)\n", &ob->name);
195 return; 195 return;
196 } 196 }
197 197
198 if (pl->ns->need_delinv0)
199 {
200 pl->ns->need_delinv0 = 0;
198 pl->ns->send_packet ("delinv 0"); 201 pl->ns->send_packet ("delinv 0");
202 }
199 203
200 if (pl->run_on) 204 if (pl->run_on)
201 return; 205 return;
202 206
203 pl->ns->update_look = 0; 207 pl->ns->update_look = 0;
208 pl->ns->need_delinv0 = 1;
204 209
205 if (ob->flag [FLAG_REMOVED] 210 if (ob->flag [FLAG_REMOVED]
206 || !ob->map 211 || !ob->map
207 || ob->map->in_memory != MAP_ACTIVE 212 || ob->map->in_memory != MAP_ACTIVE
208 || out_of_map (ob->map, ob->x, ob->y)) 213 || out_of_map (ob->map, ob->x, ob->y))

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines