Skip to content

Commit

Permalink
FIX: city bridges belong to public player
Browse files Browse the repository at this point in the history
git-svn-id: svn://tron.homeunix.org/simutrans/simutrans/trunk@4969 8aca7d54-2c30-db11-9de9-000461428c89
  • Loading branch information
Dwachs committed Dec 4, 2011
1 parent 60bd7d6 commit 92ad6aa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion simcity.cc
Original file line number Diff line number Diff line change
Expand Up @@ -2845,7 +2845,7 @@ bool stadt_t::baue_strasse(const koord k, spieler_t* sp, bool forced)
end = brueckenbauer_t::finde_ende(welt, bd->get_pos(), zv, bridge, err, true);
}
if (err==NULL && koord_distance( k, end.get_2d())<=3) {
brueckenbauer_t::baue_bruecke(welt, NULL, bd->get_pos(), end, zv, bridge, welt->get_city_road());
brueckenbauer_t::baue_bruecke(welt, welt->get_spieler(1), bd->get_pos(), end, zv, bridge, welt->get_city_road());
// try to build one connecting piece of road
baue_strasse( (end+zv).get_2d(), NULL, false);
// try to build a house near the bridge end
Expand Down

0 comments on commit 92ad6aa

Please sign in to comment.