From c47d8e4b8f9d63ab6b4e7e286e91cd50a5bdd151 Mon Sep 17 00:00:00 2001 From: sevenzz23 Date: Thu, 31 Oct 2013 12:07:06 +0700 Subject: No error after compilation, but when logging in at map server it will crash. Im pretty sure its on the clif.c Signed-off-by: sevenzz23 --- src/map/pc_groups.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/map/pc_groups.h') diff --git a/src/map/pc_groups.h b/src/map/pc_groups.h index 8f350c2b6..63e7acc51 100644 --- a/src/map/pc_groups.h +++ b/src/map/pc_groups.h @@ -30,6 +30,7 @@ enum e_pc_permission { PC_PERM_DISABLE_PVP = 0x080000, // #20 PC_PERM_DISABLE_CMD_DEAD = 0x100000, PC_PERM_HCHSYS_ADMIN = 0x200000, + PC_PERM_TRADE_BOUNDED = 0x400000, }; /// Total number of PC permissions (without PC_PERM_NONE). @@ -37,7 +38,7 @@ enum e_pc_permission { /// so it's possible to apply sizeof to it [C-FAQ 1.24] /// Whenever adding new permission: 1. add enum entry above, 2. add entry into /// pc_g_permission_name (in pc.c), 3. increase NUM_PC_PERM below by 1. -#define NUM_PC_PERM 22 +#define NUM_PC_PERM 23 struct pc_permission_name_table { const char *name; -- cgit v1.2.3-70-g09d2