From 9a104e8a18124a1fe25ff774d4e5790ea48634dd Mon Sep 17 00:00:00 2001 From: Enno Rehling Date: Sun, 10 Mar 2002 12:42:41 +0000 Subject: [PATCH] endless loop, n: see loop, endless --- src/mapper/map_partei.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mapper/map_partei.c b/src/mapper/map_partei.c index 73d9cb6b8..d5f096958 100644 --- a/src/mapper/map_partei.c +++ b/src/mapper/map_partei.c @@ -173,7 +173,7 @@ read_orders(const char * filename) if (F==NULL) return; b = getbuf(F); - for (;;) { + while (b) { switch (igetparam(b, default_locale)) { case P_GAMENAME: case P_FACTION: