- moved all trivial actor properties into the scripts as 'property' declarations.

This commit is contained in:
Christoph Oelckers 2017-03-19 11:30:28 +01:00
commit 845c43876c
5 changed files with 191 additions and 950 deletions

View file

@ -1959,6 +1959,11 @@ void ZCCCompiler::DispatchScriptProperty(PProperty *prop, ZCC_PropertyStmt *prop
for (auto f : prop->Variables)
{
void *addr;
if (f == nullptr)
{
// This variable was missing. The error had been reported for the property itself already.
return;
}
if (f->Flags & VARF_Meta)
{