summaryrefslogtreecommitdiff
path: root/src/map/vending.h
diff options
context:
space:
mode:
authorai4rei <ai4rei@54d463be-8e91-2dee-dedb-b68131a5f0ec>2011-01-26 11:52:44 +0000
committerai4rei <ai4rei@54d463be-8e91-2dee-dedb-b68131a5f0ec>2011-01-26 11:52:44 +0000
commitd40a402849595e51aff219b74c323008467ce67e (patch)
tree484faa0358960c5d8bd83ecfacee05d74755f140 /src/map/vending.h
parentb584cf93cf84b7e6a69b2af21410502835689ab7 (diff)
downloadhercules-d40a402849595e51aff219b74c323008467ce67e.tar.gz
hercules-d40a402849595e51aff219b74c323008467ce67e.tar.bz2
hercules-d40a402849595e51aff219b74c323008467ce67e.tar.xz
hercules-d40a402849595e51aff219b74c323008467ce67e.zip
* Fixed buyers, that are currently in a vending shop could be fooled into buying an item at different price than they see by reopening the vending shop (bugreport:4728).
- This implements the official vending shop unique id handling (previously mistaken for char id), made compatible with packets before it's introduction (follow up to r14234). git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14682 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/vending.h')
-rw-r--r--src/map/vending.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/vending.h b/src/map/vending.h
index 9748b675a..3c483a38c 100644
--- a/src/map/vending.h
+++ b/src/map/vending.h
@@ -17,6 +17,6 @@ struct s_vending {
void vending_closevending(struct map_session_data* sd);
void vending_openvending(struct map_session_data* sd, const char* message, bool flag, const uint8* data, int count);
void vending_vendinglistreq(struct map_session_data* sd, int id);
-void vending_purchasereq(struct map_session_data* sd, int aid, int cid, const uint8* data, int count);
+void vending_purchasereq(struct map_session_data* sd, int aid, int uid, const uint8* data, int count);
#endif /* _VENDING_H_ */