diff options
author | FlavioJS <FlavioJS@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2007-09-23 03:14:57 +0000 |
---|---|---|
committer | FlavioJS <FlavioJS@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2007-09-23 03:14:57 +0000 |
commit | 7d10ecf3d159a3d4765b65a1eb1bd11399b0ef37 (patch) | |
tree | 32d69f53bacb7597d55e5a27839dde6d952aca77 /src/map/pc.c | |
parent | a278eb2e074ce0cb0c9c68e372c66b87f84577a1 (diff) | |
download | hercules-7d10ecf3d159a3d4765b65a1eb1bd11399b0ef37.tar.gz hercules-7d10ecf3d159a3d4765b65a1eb1bd11399b0ef37.tar.bz2 hercules-7d10ecf3d159a3d4765b65a1eb1bd11399b0ef37.tar.xz hercules-7d10ecf3d159a3d4765b65a1eb1bd11399b0ef37.zip |
* map_addflooritem and struct item_drop_list using id's instead of struct map_session_data's (fixes bugreport:36).
* Fixed buildin_escape_sql not properly escaping in sql servers.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@11279 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/pc.c')
-rw-r--r-- | src/map/pc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/map/pc.c b/src/map/pc.c index d6a41db37..0423ffb78 100644 --- a/src/map/pc.c +++ b/src/map/pc.c @@ -2894,7 +2894,7 @@ int pc_dropitem(struct map_session_data *sd,int n,int amount) log_pick_pc(sd, "P", sd->status.inventory[n].nameid, -amount, (struct item*)&sd->status.inventory[n]); //Logs - if (!map_addflooritem(&sd->status.inventory[n], amount, sd->bl.m, sd->bl.x, sd->bl.y, NULL, NULL, NULL, 2)) + if (!map_addflooritem(&sd->status.inventory[n], amount, sd->bl.m, sd->bl.x, sd->bl.y, 0, 0, 0, 2)) return 0; pc_delitem(sd, n, amount, 0); @@ -5043,7 +5043,7 @@ int pc_dead(struct map_session_data *sd,struct block_list *src) item_tmp.card[1]=0; item_tmp.card[2]=GetWord(sd->status.char_id,0); // CharId item_tmp.card[3]=GetWord(sd->status.char_id,1); - map_addflooritem(&item_tmp,1,sd->bl.m,sd->bl.x,sd->bl.y,NULL,NULL,NULL,0); + map_addflooritem(&item_tmp,1,sd->bl.m,sd->bl.x,sd->bl.y,0,0,0,0); } // activate Steel body if a super novice dies at 99+% exp [celest] |