Bug #4853

Wind turbine frames 1 and 16 are identical

Added by Supercheese almost 7 years ago. Updated over 6 years ago.

Status:ClosedStart date:2013-01-27
Priority:NormalDue date:
Assignee:-% Done:

100%

Category:-
Target version:-

Description

I noticed in-game that the wind turbine appeared to freeze on one frame, and I checked out http://dev.openttdcoop.org/projects/ogfx-landscape/repository/changes/src/gfx/windfarm.png and saw that frames 1 and 16 are identical, apparently the source of the freezing.

Steps to reproduce:

- Load a game with OGFX+ Landscape year 1985 or later
- Build a wind turbine
- Observe the spinning blades appear to freeze every so often

I suppose a simple solution would be to cut out the 16th frame from the spriteset, drop the framecount to 15, and %mod by 15 rather than 16.

Associated revisions

Revision 115:f611ac5fb6a9
Added by planetmaker over 6 years ago

Fix #4853: Wind turbine animation had a duplicate sprite making it stop occasionally

History

#1 Updated by planetmaker over 6 years ago

  • % Done changed from 0 to 100
  • Status changed from New to Closed

Applied in changeset f611ac5fb6a9.

Also available in: Atom PDF