shiftclick in mapeditor now deletes stuff

This commit is contained in:
Zeno Rogue committed 2022-10-27 16:06:39 +02:00
1 parent 60a3f21b9f
commit e653f4eaeb
2 files changed
+18 -4

No files matched your search

+1 -1
View File
@@ -1138,7 +1138,7 @@ EX void handle_event(SDL_Event& ev) {
if(ev.button.button == SDL_BUTTON_LEFT) {
if(ISPANDORA ? pandora_rightclick : lctrlclick)
ev.button.button = SDL_BUTTON_MIDDLE;
else if((ISPANDORA ? pandora_leftclick : lshiftclick) && !(vid.shifttarget&1))
else if((ISPANDORA ? pandora_leftclick : lshiftclick) && !(vid.shifttarget&1) && !(cmode & sm::MAP))
ev.button.button = SDL_BUTTON_RIGHT;
}