Fix GetEntSendPropOffs returning 0 for missing props when actual=false

Issue introduced in #439.
This commit is contained in:
Asher Baker 2015-11-21 01:46:35 +00:00
parent 0e80ffef55
commit ef147860c2

View File

@ -486,7 +486,7 @@ stock GetEntSendPropOffs(ent, const String:prop[], bool:actual=false)
return -1;
}
new local;
new local = -1;
new offset = FindSendPropInfo(cls, prop, _, _, local);
if (actual)