mirror of
https://github.com/OpenDiablo2/OpenDiablo2
synced 2025-02-09 01:56:47 -05:00
cof: buildfix
This commit is contained in:
parent
15d30ffcce
commit
b5fa6e77eb
@ -21,7 +21,7 @@ func (c *COF) Duration() float64 {
|
||||
milliseconds = 1000
|
||||
)
|
||||
|
||||
frameDelay := milliseconds / c.SpeedToFPS()
|
||||
frameDelay := milliseconds / c.FPS()
|
||||
|
||||
return float64(c.FramesPerDirection) * frameDelay
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user