diff options
author | epuncker <gm.perflex@gmail.com> | 2016-07-22 11:39:10 -0300 |
---|---|---|
committer | epuncker <gm.perflex@gmail.com> | 2016-07-25 11:49:56 -0300 |
commit | 03ce9e5a69b54535ea70b3776004dd7ade7e6134 (patch) | |
tree | 1a8ca3b3fb4a8d006d1b09c3146a110787a79ef8 /src/map/pc.c | |
parent | 22bf27402936e8c95cc9c50597353da300fe7d6d (diff) | |
download | hercules-03ce9e5a69b54535ea70b3776004dd7ade7e6134.tar.gz hercules-03ce9e5a69b54535ea70b3776004dd7ade7e6134.tar.bz2 hercules-03ce9e5a69b54535ea70b3776004dd7ade7e6134.tar.xz hercules-03ce9e5a69b54535ea70b3776004dd7ade7e6134.zip |
Added a missing entry into messages.conf and added some comments where missing, ref #1282
Diffstat (limited to 'src/map/pc.c')
-rw-r--r-- | src/map/pc.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/map/pc.c b/src/map/pc.c index 27bd71b64..414b236d7 100644 --- a/src/map/pc.c +++ b/src/map/pc.c @@ -4646,13 +4646,13 @@ int pc_dropitem(struct map_session_data *sd,int n,int amount) return 0; if( map->list[sd->bl.m].flag.nodrop ) { - clif->message (sd->fd, msg_sd(sd,271)); - return 0; //Can't drop items in nodrop mapflag maps. + clif->message (sd->fd, msg_sd(sd,271)); // You can't drop items in this map + return 0; } if( !pc->candrop(sd,&sd->status.inventory[n]) ) { - clif->message (sd->fd, msg_sd(sd,263)); + clif->message (sd->fd, msg_sd(sd,263)); // This item cannot be dropped. return 0; } @@ -5097,7 +5097,7 @@ int pc_cart_additem(struct map_session_data *sd,struct item *item_data,int amoun if (!itemdb_cancartstore(item_data, pc_get_group_level(sd)) || (item_data->bound > IBT_ACCOUNT && !pc_can_give_bound_items(sd))) { // Check item trade restrictions - clif->message (sd->fd, msg_sd(sd,264)); + clif->message (sd->fd, msg_sd(sd,264)); // This item cannot be stored. return 1;/* TODO: there is no official response to this? */ } |