Completly forgot to make mouse axis values static so they can be used in intervals - shame on me

This commit is contained in:
zicodxx 2008-11-21 23:59:22 +00:00
parent 606eb97467
commit 76d59ae9d3
2 changed files with 5 additions and 1 deletions

View file

@ -1,5 +1,9 @@
D2X-Rebirth Changelog
20081122
--------
main/kconfig.c: Completly forgot to make mouse axis values static so they can be used in intervals - shame on me!
20081121
--------
main/gamecntl.c, main/gauges.c: Do not allow to restore games while player is dead... again - to much trouble right now; Solving small display issue when fading out weapons which ran out of ammo

View file

@ -1375,7 +1375,7 @@ void controls_read_all()
{
int i;
int slide_on, bank_on;
int dx, dy, dz;
static int dx, dy, dz;
fix ctime;
fix mouse_axis[3] = {0,0,0};
int raw_joy_axis[JOY_MAX_AXES];