summaryrefslogtreecommitdiff
path: root/src/map/map.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/map/map.c')
-rw-r--r--src/map/map.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/map/map.c b/src/map/map.c
index eb44ea6ac..656ddb6d0 100644
--- a/src/map/map.c
+++ b/src/map/map.c
@@ -3670,7 +3670,7 @@ void map_zone_init(void) {
}
enum bl_type map_zone_bl_type(const char *entry) {
char temp[200], *parse;
- enum bl_type bl;
+ enum bl_type bl = BL_NUL;
safestrncpy(temp, entry, 200);
parse = strtok(temp,"|");
@@ -3690,7 +3690,7 @@ enum bl_type map_zone_bl_type(const char *entry) {
else if( strcmpi(parse,"all") == 0 )
bl |= BL_ALL;
else if( strcmpi(parse,"none") == 0 ) {
- bl = 0;
+ bl = BL_NUL;
} else {
ShowError("map_zone_db: '%s' unknown type, skipping...\n",parse);
}