Patch: simcity - p****enger destinations
The p****enger destinations in the city info window show a wrong offset for small maps (64x64, 128x128), eg the default.sve from pak 64.
Index: simcity.cc
===================================================================
--- simcity.cc (revision 2144)
+++ simcity.cc (working copy)
@@ -1591,8 +1591,8 @@
void stadt_t::merke_p****agier_ziel(koord k, uint8 color)
{
const koord p = koord(
- ((k.x * 127) / welt->gib_groesse_x()) & 127,
- ((k.y * 127) / welt->gib_groesse_y()) & 127
+ ((k.x * 128) / welt->gib_groesse_x()) & 127,
+ ((k.y * 128) / welt->gib_groesse_y()) & 127
);
pax_ziele_neu.at(p) = color;
}