summaryrefslogtreecommitdiff
path: root/src/map/party.h
diff options
context:
space:
mode:
authorai4rei <ai4rei@54d463be-8e91-2dee-dedb-b68131a5f0ec>2010-11-28 12:41:26 +0000
committerai4rei <ai4rei@54d463be-8e91-2dee-dedb-b68131a5f0ec>2010-11-28 12:41:26 +0000
commitea5bac422d3d0b257c2f6f877b9780ec20a782ed (patch)
treee0c859e040668371936cebcd228185e4bf849f04 /src/map/party.h
parentf01431ef279c665df0f974e1975baf1f2422398a (diff)
downloadhercules-ea5bac422d3d0b257c2f6f877b9780ec20a782ed.tar.gz
hercules-ea5bac422d3d0b257c2f6f877b9780ec20a782ed.tar.bz2
hercules-ea5bac422d3d0b257c2f6f877b9780ec20a782ed.tar.xz
hercules-ea5bac422d3d0b257c2f6f877b9780ec20a782ed.zip
* Replaced literal constants related to the party booking system with defines.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14513 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/party.h')
-rw-r--r--src/map/party.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/map/party.h b/src/map/party.h
index d396d0fe6..db8339bd2 100644
--- a/src/map/party.h
+++ b/src/map/party.h
@@ -12,6 +12,9 @@ struct item;
#include <stdarg.h>
+#define PARTY_BOOKING_JOBS 6
+#define PARTY_BOOKING_RESULTS 10
+
struct party_member_data {
struct map_session_data *sd;
unsigned int hp; //For HP,x,y refreshing.
@@ -34,7 +37,7 @@ struct party_data {
struct party_booking_detail {
short level;
short mapid;
- short job[6];
+ short job[PARTY_BOOKING_JOBS];
};
struct party_booking_ad_info {