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: