diff src/unmovable_cmd.cpp @ 6357:96b1652c6011 draft

(svn r9400) -Codechange: Use some more representative enum names for landscape types.
author belugas <belugas@openttd.org>
date Thu, 22 Mar 2007 03:42:43 +0000
parents 51ac8dd32194
children 72ac8bfaa32f
line wrap: on
line diff
--- a/src/unmovable_cmd.cpp
+++ b/src/unmovable_cmd.cpp
@@ -344,7 +344,7 @@
 	uint maxx;
 	uint maxy;
 
-	if (_opt.landscape == LT_CANDY) return;
+	if (_opt.landscape == LT_TOYLAND) return;
 
 	/* add radio tower */
 	i = ScaleByMapSize(1000);
@@ -362,7 +362,7 @@
 		}
 	} while (--i);
 
-	if (_opt.landscape == LT_DESERT) return;
+	if (_opt.landscape == LT_TROPIC) return;
 
 	/* add lighthouses */
 	i = li;