diff options
author | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2007-03-22 16:46:09 +0000 |
---|---|---|
committer | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2007-03-22 16:46:09 +0000 |
commit | fad0a74cd53f827e4c006b497b658baca2065a3d (patch) | |
tree | fd896b3f74145cf3b2f43077b96fadb3f49ae514 /src/map/clif.c | |
parent | 782af771684f613e20111bd498ccd1b885978551 (diff) | |
download | hercules-fad0a74cd53f827e4c006b497b658baca2065a3d.tar.gz hercules-fad0a74cd53f827e4c006b497b658baca2065a3d.tar.bz2 hercules-fad0a74cd53f827e4c006b497b658baca2065a3d.tar.xz hercules-fad0a74cd53f827e4c006b497b658baca2065a3d.zip |
- Removed unused bIgnoreDefMob
- Removed unneeded sd variables cart_max_weight and cart_max_num
- Made ignore_mdef_ele/ignore_mdef_race/ignore_def_ele/ignore_def_race unsigned chars rather than ints.
- Made pc_dropitem check for inventory_data, to guarantee that the item will be deleted from the inventory after dropping it.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@10051 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/clif.c')
-rw-r--r-- | src/map/clif.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/map/clif.c b/src/map/clif.c index f1fa8c2fa..559bb4f69 100644 --- a/src/map/clif.c +++ b/src/map/clif.c @@ -2580,9 +2580,9 @@ int clif_updatestatus(struct map_session_data *sd,int type) case SP_CARTINFO: WFIFOW(fd,0)=0x121; WFIFOW(fd,2)=sd->cart_num; - WFIFOW(fd,4)=sd->cart_max_num; + WFIFOW(fd,4)=MAX_CART; WFIFOL(fd,6)=sd->cart_weight; - WFIFOL(fd,10)=sd->cart_max_weight; + WFIFOL(fd,10)=battle_config.max_cart_weight; len=14; break; |