Fix GetEntSendPropOffs returning 0 for missing props when actual=false
Issue introduced in #439.
This commit is contained in:
parent
0e80ffef55
commit
ef147860c2
@ -486,7 +486,7 @@ stock GetEntSendPropOffs(ent, const String:prop[], bool:actual=false)
|
|||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
new local;
|
new local = -1;
|
||||||
new offset = FindSendPropInfo(cls, prop, _, _, local);
|
new offset = FindSendPropInfo(cls, prop, _, _, local);
|
||||||
|
|
||||||
if (actual)
|
if (actual)
|
||||||
|
Loading…
Reference in New Issue
Block a user