Files
sourcemod/core
Asher Baker 39aa75436e Fix reading/writing string_t array netprops (#1538)
When a netprop is an array the name resolves to the outer DataTable
array, which we then need to recurse into to find the actual prop.

For string_t props we need their sendprop info to call the proxy
function to get their real storage address, but when accessing an array
we were trying to read the prop off the outer DataTable prop, rather
than the real string_t prop. Fix this by using the pProp variable that
FIND_PROP_SEND helpfully provides for us.

Tested by writing/reading the `m_szCrosshairCodes` array, which got
changed to a string_t prop sometime since #1372.

Fixes #1484
2021-07-18 02:01:46 +01:00
..
2021-07-16 18:33:10 -07:00
2020-08-24 20:48:57 -07:00
2020-05-20 17:57:18 -07:00
2014-08-13 14:24:35 -07:00
2020-10-16 21:41:21 +01:00
2019-05-30 18:27:14 -07:00
2018-08-13 23:03:48 +01:00