From 01c09eeae167221a7f9794180539a8298bfb0989 Mon Sep 17 00:00:00 2001 From: Bukz Date: Tue, 12 Jun 2012 15:15:00 +0000 Subject: [PATCH] updated win bins git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@6836 e016b1c5-ed68-44aa-a2f7-31cac88cffde --- source/src/console.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/source/src/console.cpp b/source/src/console.cpp index 271c4128..625bbf3d 100644 --- a/source/src/console.cpp +++ b/source/src/console.cpp @@ -556,6 +556,11 @@ void keypress(int code, bool isdown, int cooked, SDLMod mod) defformatstring(kpi)("KEYPRESS %d", code); execute(kpi); } + if (!isdown && identexists("KEYRELEASE")) + { + defformatstring(kpo)("KEYRELEASE %d", code); + execute(kpo); + } } char *getcurcommand()