From 85be0bebecf5db72298278df983cfd8bf0f85f0a Mon Sep 17 00:00:00 2001 From: helixhorned Date: Mon, 25 May 2015 12:57:51 +0000 Subject: [PATCH] LunaCON: from 'definevolumename', make g_numVolumes be determined as in C-CON. git-svn-id: https://svn.eduke32.com/eduke32@5236 1a8010ca-5511-0410-912e-c29ae57300e0 --- polymer/eduke32/source/gamedef.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/polymer/eduke32/source/gamedef.c b/polymer/eduke32/source/gamedef.c index bbf476f22..18c7c68d9 100644 --- a/polymer/eduke32/source/gamedef.c +++ b/polymer/eduke32/source/gamedef.c @@ -2319,14 +2319,14 @@ void C_DefineVolumeName(int32_t vol, const char *name) { Bassert((unsigned)vol < MAXVOLUMES); Bstrncpyz(EpisodeNames[vol], name, sizeof(EpisodeNames[vol])); - g_numVolumes = max(g_numVolumes, vol+1); + g_numVolumes = vol+1; } void C_DefineSkillName(int32_t skill, const char *name) { Bassert((unsigned)skill < MAXSKILLS); Bstrncpyz(SkillNames[skill], name, sizeof(SkillNames[skill])); - g_numSkills = max(g_numSkills, skill+1); + g_numSkills = max(g_numSkills, skill+1); // TODO: bring in line with C-CON? } void C_DefineLevelName(int32_t vol, int32_t lev, const char *fn,