0
0
mirror of https://github.com/termux/termux-packages.git synced 2024-11-27 07:28:57 +00:00
termux-packages/x11-packages/the-powder-toy/02-no-install-prompt.patch
2022-04-18 14:30:33 +05:30

15 lines
517 B
Diff

diff -uNr The-Powder-Toy-94.1/src/gui/game/GameView.cpp The-Powder-Toy-94.1.mod/src/gui/game/GameView.cpp
--- The-Powder-Toy-94.1/src/gui/game/GameView.cpp 2019-02-21 07:23:45.000000000 +0200
+++ The-Powder-Toy-94.1.mod/src/gui/game/GameView.cpp 2019-05-19 20:37:48.967690493 +0300
@@ -1628,9 +1628,7 @@
c->AdjustBrushSize(-1, !alt, shiftBehaviour, ctrlBehaviour);
break;
case SDL_SCANCODE_I:
- if(ctrl)
- c->Install();
- else
+ if(!ctrl)
c->InvertAirSim();
break;
case SDL_SCANCODE_SEMICOLON: