From 228d3a13c83495d5c5b2e3a893d42917a8677e94 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Johnny=20Bergstr=C3=B6m?= Date: Mon, 12 Jul 2004 08:25:48 +0000 Subject: [PATCH] Fixed pdata int stocks --- plugins/include/jghg2.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/include/jghg2.inc b/plugins/include/jghg2.inc index 75e90f46..79c26494 100755 --- a/plugins/include/jghg2.inc +++ b/plugins/include/jghg2.inc @@ -88,7 +88,7 @@ stock get_owner(id) stock get_pdata(entity, offset) { - return get_offset(entity, offset) + return get_offset_int(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) { - return set_offset(entity, offset, value) + return set_offset_int(entity, offset, value) } stock set_pdata_float(entity, offset, Float:value) {