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

Comparing deliantra/server/server/player.C (file contents):
Revision 1.156 by root, Thu Jul 26 00:27:09 2007 UTC vs.
Revision 1.158 by root, Mon Aug 13 15:46:45 2007 UTC

1188 pick_up (op, tmp); 1188 pick_up (op, tmp);
1189 continue; 1189 continue;
1190 } 1190 }
1191 1191
1192 if (op->contr->mode & PU_READABLES) 1192 if (op->contr->mode & PU_READABLES)
1193 if (tmp->type == BOOK || tmp->type == SCROLL) 1193 if (tmp->type == BOOK || tmp->type == SCROLL || tmp->type == INSCRIBABLE)
1194 { 1194 {
1195 pick_up (op, tmp); 1195 pick_up (op, tmp);
1196 continue; 1196 continue;
1197 } 1197 }
1198 1198
1980 /* If we found a key, do some extra work */ 1980 /* If we found a key, do some extra work */
1981 if (key) 1981 if (key)
1982 { 1982 {
1983 object *container = key->env; 1983 object *container = key->env;
1984 1984
1985 op->play_sound (sound_find ("open_door"));
1986
1987 if (action_makes_visible (op)) 1985 if (action_makes_visible (op))
1988 make_visible (op); 1986 make_visible (op);
1989 1987
1990 if (door->inv && (door->inv->type == RUNE || door->inv->type == TRAP)) 1988 if (door->inv && (door->inv->type == RUNE || door->inv->type == TRAP))
1991 spring_trap (door->inv, op); 1989 spring_trap (door->inv, op);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines