summaryrefslogtreecommitdiff
path: root/src/game.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/game.h')
-rw-r--r--src/game.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/game.h b/src/game.h
index 2ab6207a2..b80f9c3ee 100644
--- a/src/game.h
+++ b/src/game.h
@@ -39,6 +39,14 @@ class Map;
struct LastKey final
{
+ A_DELETE_COPY(LastKey)
+
+ LastKey() :
+ time(0),
+ key(InputAction::NO_VALUE),
+ cnt(0)
+ { }
+
time_t time;
InputActionT key;
int cnt;