Fix GetPropertyBool default value when descending into prototype [Guenther]

qteditor
Sven Eberhardt 2016-06-03 20:17:20 -04:00
parent b10da0629d
commit 4d04135cda
1 changed files with 1 additions and 1 deletions

View File

@ -743,7 +743,7 @@ int32_t C4PropList::GetPropertyBool(C4PropertyName n, bool default_val) const
}
if (GetPrototype())
{
return GetPrototype()->GetPropertyBool(n);
return GetPrototype()->GetPropertyBool(n, default_val);
}
return default_val;
}