mirror of
				https://github.com/zenorogue/hyperrogue.git
				synced 2025-10-31 05:52:59 +00:00 
			
		
		
		
	fixed strafe directions
This commit is contained in:
		
							
								
								
									
										4
									
								
								rug.cpp
									
									
									
									
									
								
							
							
						
						
									
										4
									
								
								rug.cpp
									
									
									
									
									
								
							| @@ -959,8 +959,8 @@ void actDraw() { | ||||
|      | ||||
|     ld strafex = 0, strafey = 0; | ||||
|     if(keystate[SDLK_LSHIFT]) {     | ||||
|       if(keystate[SDLK_LEFT]) strafex -= alpha; | ||||
|       if(keystate[SDLK_RIGHT]) strafex += alpha; | ||||
|       if(keystate[SDLK_LEFT]) strafex += alpha; | ||||
|       if(keystate[SDLK_RIGHT]) strafex -= alpha; | ||||
|       if(keystate[SDLK_UP]) strafey -= alpha; | ||||
|       if(keystate[SDLK_DOWN]) strafey += alpha; | ||||
|       } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Zeno Rogue
					Zeno Rogue