浏览代码

- Added comments about the max ***_REG_NUM defines in mmo.h

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16892 54d463be-8e91-2dee-dedb-b68131a5f0ec
brianluau 12 年之前
父节点
当前提交
c6b4ffbd97
共有 1 个文件被更改,包括 3 次插入3 次删除
  1. 3 3
      src/common/mmo.h

+ 3 - 3
src/common/mmo.h

@@ -80,9 +80,9 @@
 #define MAX_FAME 1000000000
 #define MAX_CART 100
 #define MAX_SKILL 3100
-#define GLOBAL_REG_NUM 256
-#define ACCOUNT_REG_NUM 64
-#define ACCOUNT_REG2_NUM 16
+#define GLOBAL_REG_NUM 256   // max permanent character variables per char
+#define ACCOUNT_REG_NUM 64   // max permanent local account variables per account
+#define ACCOUNT_REG2_NUM 16  // max permanent global account variables per account
 //Should hold the max of GLOBAL/ACCOUNT/ACCOUNT2 (needed for some arrays that hold all three)
 #define MAX_REG_NUM 256
 #define DEFAULT_WALK_SPEED 150