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

Comparing deliantra/server/common/object.C (file contents):
Revision 1.247 by root, Mon Jul 14 18:36:43 2008 UTC vs.
Revision 1.248 by root, Mon Jul 14 23:47:06 2008 UTC

345 else 345 else
346 { 346 {
347 // maybe there is a player standing on the same mapspace 347 // maybe there is a player standing on the same mapspace
348 // this will catch the case where "this" is a player 348 // this will catch the case where "this" is a player
349 if (object *pl = ms ().player ()) 349 if (object *pl = ms ().player ())
350 if ((!pl->container && pl->contr->ns && !pl->contr->ns->update_look)
350 if (!pl->container || this == pl->container) 351 || this == pl->container)
351 return pl; 352 return pl;
352 } 353 }
353 } 354 }
354 355
355 return 0; 356 return 0;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines