1
0
Fork 0

wasd conflicting with the S key

This commit is contained in:
me 2022-06-24 00:08:02 +04:30
parent 5ec7174e3e
commit d88871869f
1 changed files with 1 additions and 1 deletions

2
sos.c
View File

@ -405,7 +405,7 @@ int main(int argc, char** argv){
mouseinput(sy,sx);
if( (input=='k' || (input==KEY_UP||input=='w')) && py>0)
--py;
if( (input=='j' || (input==KEY_DOWN||input=='s')) && py<len-1)
if( (input=='j' || (input==KEY_DOWN)) && py<len-1)
++py;
if( (input=='h' || (input==KEY_LEFT||input=='a')) && px>0)
--px;