diff options
author | MadCamel <madcamel@gmail.com> | 2009-04-25 20:14:59 +0000 |
---|---|---|
committer | Jared Adams <jaxad0127@gmail.com> | 2009-04-25 14:26:48 -0600 |
commit | e443b683ed7e38648b61e4e52d87e681d194a2b3 (patch) | |
tree | 64a0bcd6c8831ccb7584e892d06ab0c3c944b79b | |
parent | e86bcd984545b3b48ba1ee887e32c15715cfe521 (diff) | |
download | tmwa-e443b683ed7e38648b61e4e52d87e681d194a2b3.tar.gz tmwa-e443b683ed7e38648b61e4e52d87e681d194a2b3.tar.bz2 tmwa-e443b683ed7e38648b61e4e52d87e681d194a2b3.tar.xz tmwa-e443b683ed7e38648b61e4e52d87e681d194a2b3.zip |
Repair drop protection
-rw-r--r-- | src/map/pc.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/map/pc.c b/src/map/pc.c index 71554c8..2ac5ce1 100644 --- a/src/map/pc.c +++ b/src/map/pc.c @@ -2998,7 +2998,10 @@ can_pick_item_up_from(struct map_session_data *self, int other_id) return 1; /* From a party member? */ - if (self->status.party_id == other->status.party_id && p && p->item != 0) + if (self->status.party_id + && self->status.party_id == other->status.party_id + && p && p->item != 0 + ) return 1; /* From someone who is far away? */ |