mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-11-14 08:30:49 +00:00
- fixed a typo
This commit is contained in:
parent
4eb8b53d95
commit
8587f253a8
1 changed files with 1 additions and 1 deletions
|
@ -370,7 +370,7 @@ static void ParseListMenuBody(FScanner &sc, DListMenuDescriptor *desc)
|
||||||
if (cls != nullptr && cls->IsDescendantOf("ListMenuItem"))
|
if (cls != nullptr && cls->IsDescendantOf("ListMenuItem"))
|
||||||
{
|
{
|
||||||
auto func = dyn_cast<PFunction>(cls->FindSymbol("Init", true));
|
auto func = dyn_cast<PFunction>(cls->FindSymbol("Init", true));
|
||||||
if (func != nullptr && !(func->Variants[0].Flags & (VARF_Protected | VARF_Private))) // skip internal classes which have a protexted init method.
|
if (func != nullptr && !(func->Variants[0].Flags & (VARF_Protected | VARF_Private))) // skip internal classes which have a protected init method.
|
||||||
{
|
{
|
||||||
auto &args = func->Variants[0].Proto->ArgumentTypes;
|
auto &args = func->Variants[0].Proto->ArgumentTypes;
|
||||||
TArray<VMValue> params;
|
TArray<VMValue> params;
|
||||||
|
|
Loading…
Reference in a new issue