--- deliantra/server/common/item.C 2006/12/18 03:00:02 1.8 +++ deliantra/server/common/item.C 2006/12/20 11:20:50 1.11 @@ -101,7 +101,6 @@ {POISON, "poison", "poisons", SK_ALCHEMY, 0}, {BOOK, "book", "books", SK_LITERACY, 0}, {CLOCK, "clock", "clocks", 0, 0}, - {LIGHTNING, "lightning", "lightning", 0, 0}, {ARROW, "arrow", "arrows", SK_BOWYER, 0}, {BOW, "bow", "bows", SK_BOWYER, 0}, {WEAPON, "weapon", "weapons", SK_SMITHERY, 0}, @@ -131,7 +130,6 @@ {TELEPORTER, "teleporter", "teleporters", 0, 0}, {CREATOR, "creator", "creators", 0, 0}, {SKILL, "skill", "skills", 0, 0}, - {EXPERIENCE, "experience", "experience", 0, 0}, {EARTHWALL, "earthwall", "earthwalls", 0, 0}, {GOLEM, "golem", "golems", 0, 0}, {THROWN_OBJ, "projectile", "projectiles", 0, 0}, @@ -1504,11 +1502,9 @@ return 0; } - /* * Supposed to fix face-values as well here, but later. */ - void identify (object *op) { @@ -1540,7 +1536,7 @@ update_object (op, UP_OBJ_FACE); else { - pl = is_player_inv (op->env); + pl = op->in_player (); if (pl) /* A lot of the values can change from an update - might as well send * it all. @@ -1548,3 +1544,4 @@ esrv_send_item (pl, op); } } +