diff options
Diffstat (limited to 'src/common')
-rw-r--r-- | src/common/mmo.h | 2 | ||||
-rw-r--r-- | src/common/utils.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/common/mmo.h b/src/common/mmo.h index e958f81..1ba3ee4 100644 --- a/src/common/mmo.h +++ b/src/common/mmo.h @@ -83,7 +83,7 @@ struct point{ }; struct skill { - unsigned short id,lv,flag; + unsigned short id,lv,flags; }; struct global_reg { diff --git a/src/common/utils.h b/src/common/utils.h index 0b006c3..88d1027 100644 --- a/src/common/utils.h +++ b/src/common/utils.h @@ -38,5 +38,5 @@ * MRAND(10), returns 0-9. * MPRAND(5,10) returns 5-14. */ -#define MRAND(mod) (int) (mt_random() % mod) +#define MRAND(mod) (int) (mt_random() % (mod)) #define MPRAND(add, mod) add + MRAND(mod) |