lil' fix
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@6707 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
@@ -345,7 +345,7 @@ void editdrag(bool isdown)
|
||||
|
||||
extern vector<keym> 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);
|
||||
|
||||
Reference in New Issue
Block a user