mirror of
https://github.com/abakh/nbsdgames.git
synced 2025-01-03 14:56:23 -05:00
wasd conflicting with the S key
This commit is contained in:
parent
5ec7174e3e
commit
d88871869f
2
sos.c
2
sos.c
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user