Skip to content

Commit

Permalink
squelch compiler warning, remove include
Browse files Browse the repository at this point in the history
git-svn-id: svn://tron.homeunix.org/simutrans/simutrans/trunk@7172 8aca7d54-2c30-db11-9de9-000461428c89
  • Loading branch information
Dwachs committed Apr 27, 2014
1 parent 3db57e4 commit 80e64d2
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions bauer/brueckenbauer.cc
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@
#include "../boden/boden.h"
#include "../boden/brueckenboden.h"

#include "../gui/messagebox.h"
#include "../gui/werkzeug_waehler.h"
#include "../gui/karte.h"

Expand Down Expand Up @@ -663,7 +662,7 @@ void brueckenbauer_t::baue_bruecke(spieler_t *sp, const koord3d start, const koo
// if start or end are single way, and next tile is not, try to connect
if( besch->get_waytype() != powerline_wt && sp ) {
// we need to check start_gr again, because a ramp deletes the old ground
if( start_gr = welt->lookup( start ) ) {
if( (start_gr = welt->lookup( start )) ) {
if( !start_gr->ist_karten_boden() ) {
// elevated way, just add ribi
start_gr->weg_erweitern( besch->get_waytype(), ribi_t::rueckwaerts( ribi ) );
Expand Down

0 comments on commit 80e64d2

Please sign in to comment.