Fixed pdata int stocks

This commit is contained in:
Johnny Bergström 2004-07-12 08:25:48 +00:00
parent 7c9be9c348
commit 228d3a13c8

View File

@ -88,7 +88,7 @@ stock get_owner(id)
stock get_pdata(entity, offset) stock get_pdata(entity, offset)
{ {
return get_offset(entity, offset) return get_offset_int(entity, offset)
} }
stock Float:get_pdata_float(entity, offset) stock Float:get_pdata_float(entity, offset)
{ {
@ -104,7 +104,7 @@ stock get_pdata_short(entity, offset)
} }
stock set_pdata(entity, offset, value) stock set_pdata(entity, offset, value)
{ {
return set_offset(entity, offset, value) return set_offset_int(entity, offset, value)
} }
stock set_pdata_float(entity, offset, Float:value) stock set_pdata_float(entity, offset, Float:value)
{ {