mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-25 03:12:09 +01:00
Contrib/Misc: Allow enumutils_describe.py to better deal with commented-out enum lines
This commit is contained in:
@@ -42,7 +42,7 @@ TC_API_EXPORT EnumText EnumUtils<Races>::ToString(Races value)
|
||||
case RACE_GNOME: return { "RACE_GNOME", "Gnome", "" };
|
||||
case RACE_TROLL: return { "RACE_TROLL", "Troll", "" };
|
||||
case RACE_BLOODELF: return { "RACE_BLOODELF", "Blood Elf", "" };
|
||||
case RACE_DRAENEI: return { "RACE_DRAENEI", "RACE_DRAENEI", "RACE_FEL_ORC = 12," };
|
||||
case RACE_DRAENEI: return { "RACE_DRAENEI", "Draenei", "" };
|
||||
default: throw std::out_of_range("value");
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user