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...
fill_sprite_array(): Call city_size_get() just once in LAYER_CITY2 handling
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.
#1 Updated by Marko Lindqvist about 1 year ago
- File 0038-fill_city_array-Call-city_size_get-just-once-in-LAYE.patch 0038-fill_city_array-Call-city_size_get-just-once-in-LAYE.patch added
- File 0015-fill_city_array-Call-city_size_get-just-once-in-LAYE.patch 0015-fill_city_array-Call-city_size_get-just-once-in-LAYE.patch added
- Status changed from In Progress to Resolved