Fix FindFlagChar giving '?' for Admin_Custom6 (nobug, r=asherkin).
This commit is contained in:
parent
2d616a5995
commit
e708cdf28c
@ -287,16 +287,14 @@ void AdminCache::OnSourceModLevelChange(const char *mapName)
|
||||
/* For now, we only read these once per level. */
|
||||
s_FlagReader.LoadLevels();
|
||||
|
||||
memset(g_ReverseFlags, '?', sizeof(g_ReverseFlags));
|
||||
|
||||
for (i = 0; i < 26; i++)
|
||||
{
|
||||
if (FindFlag('a' + i, &flag))
|
||||
{
|
||||
g_ReverseFlags[flag] = 'a' + i;
|
||||
}
|
||||
else
|
||||
{
|
||||
g_ReverseFlags[flag] = '?';
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user