forked from Mirrors/openclonk
Fix GetPropertyBool default value when descending into prototype [Guenther]
parent
b10da0629d
commit
4d04135cda
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue