mirror of
https://github.com/ZDoom/qzdoom-gpl.git
synced 2025-03-24 02:22:02 +00:00
- fixed another error in DispatchScriptProperty. That AST's data organization is really messed up... :(
This commit is contained in:
parent
7a61f1a779
commit
8e43b822af
1 changed files with 1 additions and 1 deletions
|
@ -1808,7 +1808,7 @@ void ZCCCompiler::DispatchScriptProperty(PProperty *prop, ZCC_PropertyStmt *prop
|
|||
}
|
||||
else if (parmcount != prop->Variables.Size())
|
||||
{
|
||||
Error(x, "Argument count mismatch: Got %u, expected %u", parmcount, prop->Variables.Size());
|
||||
Error(x == nullptr? property : x, "Argument count mismatch: Got %u, expected %u", parmcount, prop->Variables.Size());
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue