diff options
author | brianluau <brianluau@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2010-03-31 00:12:31 +0000 |
---|---|---|
committer | brianluau <brianluau@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2010-03-31 00:12:31 +0000 |
commit | d35717644b58c55b50098b3b0a08cf8002d39cca (patch) | |
tree | afe5a89a5c030d832b6e5bbdfc454101cf1adf62 /src/map/script.c | |
parent | 0a440b692c7b0d0a22ed5b5d6920b6d5e960cde6 (diff) | |
download | hercules-d35717644b58c55b50098b3b0a08cf8002d39cca.tar.gz hercules-d35717644b58c55b50098b3b0a08cf8002d39cca.tar.bz2 hercules-d35717644b58c55b50098b3b0a08cf8002d39cca.tar.xz hercules-d35717644b58c55b50098b3b0a08cf8002d39cca.zip |
- Updated 'getinventorylist' to also return expire_time in the array @inventorylist_expire[]. (topic:243292)
- Updated SQL item/mob databases to latest.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14275 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/script.c')
-rw-r--r-- | src/map/script.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/map/script.c b/src/map/script.c index 640fa6bdb..a8f024deb 100644 --- a/src/map/script.c +++ b/src/map/script.c @@ -10504,6 +10504,7 @@ BUILDIN_FUNC(getinventorylist) sprintf(card_var, "@inventorylist_card%d",k+1); pc_setreg(sd,add_str(card_var)+(j<<24),sd->status.inventory[i].card[k]); } + pc_setreg(sd,add_str("@inventorylist_expire")+(j<<24),sd->status.inventory[i].expire_time); j++; } } |