diff options
author | Ben Millwood <thebenmachine@gmail.com> | 2009-10-03 12:29:34 +0000 |
---|---|---|
committer | Tim Angus <tim@ngus.net> | 2013-01-03 00:15:59 +0000 |
commit | 1de6714f3fd27682ee48d26c7280ff4dd7c22081 (patch) | |
tree | a8ac717636cbcc4916ef6468f1b25e340d40be44 /src/game/bg_public.h | |
parent | 70348f182bf8f21b99ca66bf427468588cb41534 (diff) |
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
Diffstat (limited to 'src/game/bg_public.h')
-rw-r--r-- | src/game/bg_public.h | 2 |
1 files changed, 1 insertions, 1 deletions
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; |