1
1
mirror of https://github.com/OpenDiablo2/OpenDiablo2 synced 2024-11-05 17:57:17 -05:00

cof: rename SpeedToFPS -> FPS

This commit is contained in:
M. Sz 2021-02-25 20:21:44 +01:00
parent 78404ed56c
commit 15d30ffcce

View File

@ -1,7 +1,7 @@
package d2cof
// SpeedToFPS returns FPS value basing on cof's speed
func (c *COF) SpeedToFPS() float64 {
// FPS returns FPS value basing on cof's speed
func (c *COF) FPS() float64 {
const (
baseFPS = 25
speedDivisor = 256