mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-26 05:51:20 +00:00
- fixed: menu delegate class error message referenced the wrong gameinfo property
This commit is contained in:
parent
1c3e0f1a75
commit
6799566dc2
1 changed files with 1 additions and 1 deletions
|
@ -1312,7 +1312,7 @@ void SetDefaultMenuColors()
|
|||
|
||||
cls = PClass::FindClass(gameinfo.MenuDelegateClass);
|
||||
if (!cls)
|
||||
I_FatalError("%s: Undefined menu delegate class", gameinfo.HelpMenuClass.GetChars());
|
||||
I_FatalError("%s: Undefined menu delegate class", gameinfo.MenuDelegateClass.GetChars());
|
||||
if (!cls->IsDescendantOf("MenuDelegateBase"))
|
||||
I_FatalError("'%s' does not inherit from MenuDelegateBase", gameinfo.MenuDelegateClass.GetChars());
|
||||
menuDelegate = cls->CreateNew();
|
||||
|
|
Loading…
Reference in a new issue