mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-11-29 07:22:05 +00:00
Remove duplicated names from namedef.h
- Added an assertion in FName::NameManager::InitBuckets() that makes these errors easier to spot in the future.
This commit is contained in:
parent
82c22459dc
commit
61b419c187
2 changed files with 1 additions and 3 deletions
|
@ -182,6 +182,7 @@ void FName::NameManager::InitBuckets ()
|
|||
// Register built-in names. 'None' must be name 0.
|
||||
for (size_t i = 0; i < countof(PredefinedNames); ++i)
|
||||
{
|
||||
assert(NULL == FindName(PredefinedNames[i], true) && "Predefined name already inserted");
|
||||
FindName (PredefinedNames[i], false);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -595,9 +595,6 @@ xx(string)
|
|||
xx(vector)
|
||||
xx(map)
|
||||
xx(array)
|
||||
xx(name)
|
||||
xx(sound)
|
||||
xx(color)
|
||||
xx(state)
|
||||
xx(fixed)
|
||||
xx(angle)
|
||||
|
|
Loading…
Reference in a new issue