mirror of
https://github.com/DrBeef/Raze.git
synced 2024-11-15 00:41:55 +00:00
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
This commit is contained in:
parent
29dca07f0b
commit
85be0bebec
1 changed files with 2 additions and 2 deletions
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue