viewing paste Unknown #5420 | Athena

Posted on the
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38
Index: atcommand.c
===================================================================
--- atcommand.c (revision 17157)
+++ atcommand.c (working copy)
@@ -52,9 +53,7 @@
 
 #define ATCOMMAND_LENGTH 50
 #define ACMD_FUNC(x) static int atcommand_ ## x (const int fd, struct map_session_data* sd, const char* command, const char* message)
-#define MAX_MSG 1500
 
-
 typedef struct AtCommandInfo AtCommandInfo;
 typedef struct AliasInfo AliasInfo;
 
Index: map.c
===================================================================
--- map.c       (revision 17157)
+++ map.c       (working copy)
@@ -106,7 +108,6 @@
 static struct block_list *bl_list[BL_LIST_MAX];
 static int bl_list_count = 0;
 
-#define MAX_MSG 1500
 static char* msg_table[MAX_MSG]; // map Server messages
 
 struct map_data map[MAX_MAP_PER_SERVER];
Index: map.h
===================================================================
--- map.h       (revision 17157)
+++ map.h       (working copy)
@@ -51,6 +51,7 @@
 #define MAX_IGNORE_LIST 20 // official is 14
 #define MAX_VENDING 12
 #define MAX_MAP_SIZE 512*512 // Wasn't there something like this already? Can't find it.. [Shinryo]
+#define MAX_MSG 1500
 
 // Added definitions for WoESE objects. [L0ne_W0lf]
 enum MOBID {
Viewed 393 times, submitted by Lilith.