From 1de6714f3fd27682ee48d26c7280ff4dd7c22081 Mon Sep 17 00:00:00 2001 From: Ben Millwood Date: Sat, 3 Oct 2009 12:29:34 +0000 Subject: Improvements, fixes, and cleanups to smooth regen * Store player class regeneration rates as floats * Only calculate regen modifier once if replenishing multiple health points simultaneously --- src/game/bg_public.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/game/bg_public.h') diff --git a/src/game/bg_public.h b/src/game/bg_public.h index a08b8cdd..7f7f576f 100644 --- a/src/game/bg_public.h +++ b/src/game/bg_public.h @@ -916,7 +916,7 @@ typedef struct int health; float fallDamage; - int regenRate; + float regenRate; int abilities; -- cgit