summaryrefslogtreecommitdiff
path: root/src/game.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-01-17 18:22:25 +0300
committerAndrei Karas <akaras@inbox.ru>2017-01-17 18:22:25 +0300
commit533172dc2df60406e2c7f08f36de3742721f8079 (patch)
tree3cdd02c2876a8eaeb8d852384e6214ecac13739c /src/game.h
parentfed37f530d063cbce6a9bba7f1a878c42e10367e (diff)
downloadmv-533172dc2df60406e2c7f08f36de3742721f8079.tar.gz
mv-533172dc2df60406e2c7f08f36de3742721f8079.tar.bz2
mv-533172dc2df60406e2c7f08f36de3742721f8079.tar.xz
mv-533172dc2df60406e2c7f08f36de3742721f8079.zip
Add missing A_DEFAULT_COPY / A_DELETE_COPY into other files.
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;