From 694e07d193e7c5758a7d672b45668651b034003d Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sun, 31 May 2015 00:19:18 +0300 Subject: Convert InputAction enum into strong typed enum. --- src/game.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/game.h') diff --git a/src/game.h b/src/game.h index e7326c442..e491a6944 100644 --- a/src/game.h +++ b/src/game.h @@ -23,6 +23,8 @@ #ifndef GAME_H #define GAME_H +#include "enums/input/inputaction.h" + #include #include "localconsts.h" @@ -37,7 +39,7 @@ class Map; struct LastKey final { - int key; + InputActionT key; int time; int cnt; }; -- cgit v1.2.3-60-g2f50