diff options
author | Haru <haru@dotalux.com> | 2015-05-19 01:59:15 +0200 |
---|---|---|
committer | Haru <haru@dotalux.com> | 2015-05-19 03:07:48 +0200 |
commit | 6ac5a0ccfb601b81e1b84f6e86175d40bb16864b (patch) | |
tree | b5e7447c09dae877ccdf230a7c99815d8c613b51 /src/map/npc.h | |
parent | 0c1ce8e1c427d665c207512a0e858872ef80672d (diff) | |
download | hercules-6ac5a0ccfb601b81e1b84f6e86175d40bb16864b.tar.gz hercules-6ac5a0ccfb601b81e1b84f6e86175d40bb16864b.tar.bz2 hercules-6ac5a0ccfb601b81e1b84f6e86175d40bb16864b.tar.xz hercules-6ac5a0ccfb601b81e1b84f6e86175d40bb16864b.zip |
Fixed some issues reported by coverity scan [2/3]
- Corrected some NPC ID range checks
Signed-off-by: Haru <haru@dotalux.com>
Diffstat (limited to 'src/map/npc.h')
-rw-r--r-- | src/map/npc.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/npc.h b/src/map/npc.h index 68d683847..e57abc519 100644 --- a/src/map/npc.h +++ b/src/map/npc.h @@ -121,7 +121,7 @@ enum actor_classes { // Old NPC range #define MAX_NPC_CLASS 1000 // New NPC range -#define MAX_NPC_CLASS2_START 10000 +#define MAX_NPC_CLASS2_START 10001 #define MAX_NPC_CLASS2_END 10110 //Script NPC events. |