Clean-up KeyControl.cpp

This commit is contained in:
Clownacy 2019-11-15 18:32:52 +00:00
parent 6c2ca988a8
commit 57391868f9
2 changed files with 2 additions and 2 deletions

View file

@ -18,7 +18,7 @@ long gKeyUp = KEY_UP;
long gKeyRight = KEY_RIGHT; long gKeyRight = KEY_RIGHT;
long gKeyDown = KEY_DOWN; long gKeyDown = KEY_DOWN;
void GetTrg() void GetTrg(void)
{ {
static int key_old; static int key_old;
gKeyTrg = gKey ^ key_old; gKeyTrg = gKey ^ key_old;

View file

@ -52,4 +52,4 @@ extern long gKeyUp;
extern long gKeyRight; extern long gKeyRight;
extern long gKeyDown; extern long gKeyDown;
void GetTrg(); void GetTrg(void);