File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -382,7 +382,7 @@ def run(self, laser=[]):
382382 if (a [c ] > (1000 << 16 )) or (a [c ] < - (1000 << 16 )):
383383 a [c + 3 ] = - a [c + 3 ]
384384 a [c ] += a [c + 3 ]
385- a [c ] += fpmul ((player_angle [c ]), player_speed )
385+ a [c ] += fpmul ((player_angle [c ])// 2 , player_speed )
386386 a [2 ] -= fpmul (a [5 ], player_speed )
387387
388388 # get sprite in correct size
@@ -481,7 +481,7 @@ def run(self, laser=[]):
481481 # move in x,y,z-axis forward
482482 for c in range (2 ):
483483 # xy displacement based on player_angle * player_speed
484- e [c ] += (player_angle [c ] * player_speed ) >> 16
484+ e [c ] += (player_angle [c ] // 2 * player_speed ) >> 16
485485 e [2 ] -= fpmul (2048 , player_speed )
486486
487487 # calc displacement of ship form orientation & thrust if not exploding
You can’t perform that action at this time.
0 commit comments