From cfd50d88820b6f8353946a4bb88b9f9694c405ad Mon Sep 17 00:00:00 2001 From: Greyscale Date: Tue, 16 Jun 2009 15:29:42 -0700 Subject: [PATCH] Fixed anti-stuck not re-solidifying (for good) --- src/zr/antistick.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/zr/antistick.inc b/src/zr/antistick.inc index 45931d5..f6c3cf8 100644 --- a/src/zr/antistick.inc +++ b/src/zr/antistick.inc @@ -37,7 +37,7 @@ /** * @section Offsets relating to player hull dimensions. */ -#define ANTISTICK_PLAYER_HULL_XY_OFFSET 33 +#define ANTISTICK_PLAYER_HULL_XY_OFFSET 32 #define ANTISTICK_PLAYER_HULL_Z_OFFSET 12 #define ANTISTICK_PLAYER_HULL_STACK_OFFSET 14 /** @@ -192,7 +192,7 @@ public Action:AntiStickTimer(Handle:timer) public Action:AntiStickSolidify(Handle:timer, any:client) { // Validate player is in-game, alive, and is being unstuck. - if (!IsClientInGame(client) || !IsPlayerAlive(client) || AntiStickClientCollisionGroup(client, false)) + if (!IsClientInGame(client) || !IsPlayerAlive(client) || AntiStickClientCollisionGroup(client, false) == ANTISTICK_COLLISIONS_ON) { return Plugin_Stop; }