From b8fd22b476c45f89d713e44c74d35958484544fe Mon Sep 17 00:00:00 2001 From: Lucas GAUTHERON Date: Tue, 22 Nov 2011 19:16:54 +0000 Subject: [PATCH] lil' fix git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@6707 e016b1c5-ed68-44aa-a2f7-31cac88cffde --- source/src/editing.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/src/editing.cpp b/source/src/editing.cpp index 8f77b16b..68afc5b0 100644 --- a/source/src/editing.cpp +++ b/source/src/editing.cpp @@ -345,7 +345,7 @@ void editdrag(bool isdown) extern vector keyms; bool ctrlpressed = false; - loopv(keyms) if(keyms[i].pressed && (keyms[i].code == SDLK_RCTRL || keyms[i].code == SDLK_LCTRL)) ctrlpressed = true; + loopv(keyms) if(keyms[i].pressed && (keyms[i].code == SDLK_RCTRL || keyms[i].code == SDLK_LCTRL)) { { ctrlpressed = true; break; } } if(!ctrlpressed) resetselections(); } makesel(isdown);