summaryrefslogtreecommitdiff
path: root/src/map
diff options
context:
space:
mode:
Diffstat (limited to 'src/map')
-rw-r--r--src/map/parse.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/map/parse.c b/src/map/parse.c
index 1b905ea..b06828c 100644
--- a/src/map/parse.c
+++ b/src/map/parse.c
@@ -79,6 +79,9 @@ void map_parse_part_channel(int fd)
break;
}
+ if (k == sd->channel_count)
+ return;
+
if (sd->channels[k]->type == HCS_TYPE_ALLY)
{
do