Project

Profile

Help

HostedRedmine.com has moved to the Planio platform. All logins and passwords remained the same. All users will be able to login and use Redmine just as before. Read more...

Feature #854366

fill_sprite_array(): Call city_size_get() just once in LAYER_CITY2 handling

Added by Marko Lindqvist almost 2 years ago. Updated almost 2 years ago.

Status:
Closed
Priority:
Normal
Category:
Client
Sprint/Milestone:
Start date:
Due date:
% Done:

0%

Estimated time:

Description

fill_city_array() LAYER_CITY2 handling repeatedly calls city_size_get() for the same city. Change it to call it just once and to store result in a variable. This also works around a type-limit warning where return of the function (unsigned char) is compared to 1000.

History

#2 Updated by Marko Lindqvist almost 2 years ago

  • Subject changed from fill_city_array(): Call city_size_get() just once in LAYER_CITY2 handling to fill_sprite_array(): Call city_size_get() just once in LAYER_CITY2 handling

#3 Updated by Marko Lindqvist almost 2 years ago

  • Status changed from Resolved to Closed
  • Assignee set to Marko Lindqvist

Also available in: Atom PDF