Minor fix
This commit is contained in:
@@ -144,8 +144,8 @@ class Player(pygame.sprite.Sprite):
|
|||||||
|
|
||||||
|
|
||||||
def calcMaxHoverCount(self, speed):
|
def calcMaxHoverCount(self, speed):
|
||||||
return int(4.76 + 127.5*(1/speed) \
|
return int(round(4.76 + 127.5*(1/speed) \
|
||||||
- 239.45*(speed**-2) + 191.29*(speed**-3))
|
- 239.45*(speed**-2) + 191.29*(speed**-3)))
|
||||||
|
|
||||||
|
|
||||||
def update(self):
|
def update(self):
|
||||||
|
|||||||
Reference in New Issue
Block a user