summaryrefslogtreecommitdiff
path: root/src/map/pc.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/pc.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/pc.h')
-rw-r--r--src/map/pc.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/map/pc.h b/src/map/pc.h
index 2921b4527..24d52a466 100644
--- a/src/map/pc.h
+++ b/src/map/pc.h
@@ -350,6 +350,7 @@ struct map_session_data {
int guildspy; // [Syrus22]
int partyspy; // [Syrus22]
+ int vended_id;
int vender_id;
int vend_num;
char message[MESSAGE_SIZE];