Fix direction stuttering bug
This commit is contained in:
@@ -38,7 +38,7 @@ wasdWithAiming
|
||||
-> Creature
|
||||
wasdWithAiming w speed i cr
|
||||
| isAiming = set crDir mouseDir $ theMovement cr
|
||||
| otherwise = theTurn $ theMovement cr
|
||||
| otherwise = theMovement $ theTurn cr
|
||||
where
|
||||
theMovement
|
||||
| movDir == V2 0 0 = id
|
||||
|
||||
Reference in New Issue
Block a user