summaryrefslogtreecommitdiff
path: root/src/char/int_party.h
diff options
context:
space:
mode:
authorprotimus <protimus@54d463be-8e91-2dee-dedb-b68131a5f0ec>2012-04-04 00:38:07 +0000
committerprotimus <protimus@54d463be-8e91-2dee-dedb-b68131a5f0ec>2012-04-04 00:38:07 +0000
commit8538670a61c726fbd52087fe392f0a3d961db630 (patch)
tree4d37f0ac7e29780e7794dd6aba1856a80dbae4b4 /src/char/int_party.h
parent2b6c40327a3e05a18bbfabd319a0735d75fbb8e9 (diff)
downloadhercules-8538670a61c726fbd52087fe392f0a3d961db630.tar.gz
hercules-8538670a61c726fbd52087fe392f0a3d961db630.tar.bz2
hercules-8538670a61c726fbd52087fe392f0a3d961db630.tar.xz
hercules-8538670a61c726fbd52087fe392f0a3d961db630.zip
Changed some defines into an enumerator.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15829 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/char/int_party.h')
-rw-r--r--src/char/int_party.h20
1 files changed, 8 insertions, 12 deletions
diff --git a/src/char/int_party.h b/src/char/int_party.h
index d7965c33b..703cd5bd5 100644
--- a/src/char/int_party.h
+++ b/src/char/int_party.h
@@ -5,18 +5,14 @@
#define _INT_PARTY_SQL_H_
//Party Flags on what to save/delete.
-//Create a new party entry (index holds leader's info)
-#define PS_CREATE 0x01
-//Update basic party info.
-#define PS_BASIC 0x02
-//Update party's leader
-#define PS_LEADER 0x04
-//Specify new party member (index specifies which party member)
-#define PS_ADDMEMBER 0x08
-//Specify member that left (index specifies which party member)
-#define PS_DELMEMBER 0x10
-//Specify that this party must be deleted.
-#define PS_BREAK 0x20
+enum {
+ PS_CREATE = 0x01, //Create a new party entry (index holds leader's info)
+ PS_BASIC = 0x02, //Update basic party info.
+ PS_LEADER = 0x04, //Update party's leader
+ PS_ADDMEMBER = 0x08, //Specify new party member (index specifies which party member)
+ PS_DELMEMBER = 0x10, //Specify member that left (index specifies which party member)
+ PS_BREAK = 0x20, //Specify that this party must be deleted.
+};
struct party;