diff options
author | Haru <haru@dotalux.com> | 2016-07-25 20:53:35 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-07-25 20:53:35 +0200 |
commit | bc46ac94eba15b4f5159a7fa330c93907dad7d68 (patch) | |
tree | a4a824762dcea51b82e2816eff89f7db7b060656 /src/map/storage.c | |
parent | fee640a7170ec62b55c2eb1f13477326d9fe6428 (diff) | |
parent | 03ce9e5a69b54535ea70b3776004dd7ade7e6134 (diff) | |
download | hercules-bc46ac94eba15b4f5159a7fa330c93907dad7d68.tar.gz hercules-bc46ac94eba15b4f5159a7fa330c93907dad7d68.tar.bz2 hercules-bc46ac94eba15b4f5159a7fa330c93907dad7d68.tar.xz hercules-bc46ac94eba15b4f5159a7fa330c93907dad7d68.zip |
Merge pull request #1380 from EPuncker/messagesconf-update
Added a missing entry into messages.conf and added some comments wher…
Diffstat (limited to 'src/map/storage.c')
-rw-r--r-- | src/map/storage.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/map/storage.c b/src/map/storage.c index 91b37eb19..4272f9611 100644 --- a/src/map/storage.c +++ b/src/map/storage.c @@ -107,7 +107,7 @@ int storage_storageopen(struct map_session_data *sd) if( !pc_can_give_items(sd) ) { //check is this GM level is allowed to put items to storage - clif->message(sd->fd, msg_sd(sd,246)); + clif->message(sd->fd, msg_sd(sd,246)); // Your GM level doesn't authorize you to perform this action. return 1; } @@ -158,12 +158,12 @@ int storage_additem(struct map_session_data* sd, struct item* item_data, int amo if (!itemdb_canstore(item_data, pc_get_group_level(sd))) { //Check if item is storable. [Skotlex] - clif->message (sd->fd, msg_sd(sd,264)); + clif->message (sd->fd, msg_sd(sd,264)); // This item cannot be stored. return 1; } if( item_data->bound > IBT_ACCOUNT && !pc_can_give_bound_items(sd) ) { - clif->message(sd->fd, msg_sd(sd,294)); + clif->message(sd->fd, msg_sd(sd,294)); // This bound item cannot be stored there. return 1; } @@ -407,7 +407,7 @@ int storage_guild_storageopen(struct map_session_data* sd) return 1; //Can't open both storages at a time. if( !pc_can_give_items(sd) ) { //check is this GM level can open guild storage and store items [Lupus] - clif->message(sd->fd, msg_sd(sd,246)); + clif->message(sd->fd, msg_sd(sd,246)); // Your GM level doesn't authorize you to perform this action. return 1; } @@ -456,12 +456,12 @@ int guild_storage_additem(struct map_session_data* sd, struct guild_storage* sto if (!itemdb_canguildstore(item_data, pc_get_group_level(sd)) || item_data->expire_time) { //Check if item is storable. [Skotlex] - clif->message (sd->fd, msg_sd(sd,264)); + clif->message (sd->fd, msg_sd(sd,264)); // This item cannot be stored. return 1; } if( item_data->bound && item_data->bound != IBT_GUILD && !pc_can_give_bound_items(sd) ) { - clif->message(sd->fd, msg_sd(sd,294)); + clif->message(sd->fd, msg_sd(sd,294)); // This bound item cannot be stored there. return 1; } |