summaryrefslogtreecommitdiff
path: root/src/map/storage.c
diff options
context:
space:
mode:
authorskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-07-19 18:49:42 +0000
committerskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-07-19 18:49:42 +0000
commitd41f7e18f02012ef61df70ee6cc0f3bf1ce14c23 (patch)
treeae8114bf00136c94aa530b9c9a18365393bd1ebf /src/map/storage.c
parentf4fb6137949da60fc8f2a5cde80a60a1f4760aa2 (diff)
downloadhercules-d41f7e18f02012ef61df70ee6cc0f3bf1ce14c23.tar.gz
hercules-d41f7e18f02012ef61df70ee6cc0f3bf1ce14c23.tar.bz2
hercules-d41f7e18f02012ef61df70ee6cc0f3bf1ce14c23.tar.xz
hercules-d41f7e18f02012ef61df70ee6cc0f3bf1ce14c23.zip
- Modified the targetted skill logic to enable offensive skills to be targetted at party/guild members if the appropiate inf2 value is set.
- Added the SC_JAIL code for timed jailing, but the related @ commands ain't in yet. - Added checks to make adding items to inventory/cart fail when a char is in finalsave state. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@7751 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/storage.c')
-rw-r--r--src/map/storage.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/map/storage.c b/src/map/storage.c
index 4b2dff0ed..bf018dc90 100644
--- a/src/map/storage.c
+++ b/src/map/storage.c
@@ -166,6 +166,9 @@ static int storage_additem(struct map_session_data *sd,struct storage *stor,stru
struct item_data *data;
int i;
+ if (sd->state.finalsave)
+ return 1;
+
if(item_data->nameid <= 0 || amount <= 0)
return 1;