diff options
author | codemaster <codemaster@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2005-01-05 19:15:54 +0000 |
---|---|---|
committer | codemaster <codemaster@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2005-01-05 19:15:54 +0000 |
commit | 0bab8f07556d9e433c9e047b8551f4fa942b37ce (patch) | |
tree | de8370538b887ca42919e31fe224a17bb6090a65 /src/map/vending.c | |
parent | abb62fb8167c112b4f9f848bf3a763e4f4376c51 (diff) | |
download | hercules-0bab8f07556d9e433c9e047b8551f4fa942b37ce.tar.gz hercules-0bab8f07556d9e433c9e047b8551f4fa942b37ce.tar.bz2 hercules-0bab8f07556d9e433c9e047b8551f4fa942b37ce.tar.xz hercules-0bab8f07556d9e433c9e047b8551f4fa942b37ce.zip |
* Fixed Celest's typo making all vended items cost 0 zeny [Codemaster] [SVN 919]
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/branches/stable@919 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/vending.c')
-rw-r--r-- | src/map/vending.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/vending.c b/src/map/vending.c index a06ef285d..347c97bfd 100644 --- a/src/map/vending.c +++ b/src/map/vending.c @@ -147,7 +147,7 @@ void vending_openvending(struct map_session_data *sd,int len,char *message,int f sd->vending[i].value = *(int*)(p+4+8*i); if(sd->vending[i].value > battle_config.vending_max_value) sd->vending[i].value=battle_config.vending_max_value; - else if(sd->vending[i].value = 0) + else if(sd->vending[i].value == 0) sd->vending[i].value = 1000000; // auto set to 1 million [celest] // カート内のアイテム数と販売するアイテム数に相違があったら中止 if(pc_cartitem_amount(sd, sd->vending[i].index, sd->vending[i].amount) < 0 || sd->vending[i].value < 0) { // fixes by Valaris and fritz |