From 39f1638a065766fa67c70871c95a0a8400f044f1 Mon Sep 17 00:00:00 2001 From: j-p-e-g Date: Mon, 14 Apr 2008 22:04:34 +0000 Subject: Apply Horst von Brand's (first) patch 1887488: gcc-4.3 compile failures. I'm not sure what to do about the rest of that tracker item. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@4233 c06c8d41-db1a-0410-9941-cceddc491573 --- crawl-ref/source/mtransit.cc | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'crawl-ref/source/mtransit.cc') diff --git a/crawl-ref/source/mtransit.cc b/crawl-ref/source/mtransit.cc index 417a24d585..2a9edda813 100644 --- a/crawl-ref/source/mtransit.cc +++ b/crawl-ref/source/mtransit.cc @@ -7,6 +7,9 @@ */ #include "AppHdr.h" + +#include + #include "mtransit.h" #include "dungeon.h" @@ -141,7 +144,7 @@ static bool place_lost_monster(follower &f) #ifdef DEBUG_DIAGNOSTICS mprf(MSGCH_DIAGNOSTICS, "Placing lost one: %s", f.mons.name(DESC_PLAIN).c_str()); -#endif +#endif return (f.place(false)); } @@ -209,7 +212,7 @@ void place_transiting_items() pos.x = random_range(X_BOUND_1 + 1, X_BOUND_2 - 1); pos.y = random_range(Y_BOUND_1 + 1, Y_BOUND_2 - 1); } - + const coord_def where_to_go = dgn_find_nearby_stair(DNGN_ESCAPE_HATCH_DOWN, pos, true); @@ -294,7 +297,7 @@ bool follower::place(bool near_player) m.reset(); break; } - + return (false); } -- cgit v1.2.3-54-g00ecf