changeset 16344:3e25ee87f78d draft

(svn r21055) -Codechange [FS#4190]: Code style fix (chillcore)
author alberth <alberth@openttd.org>
date Fri, 29 Oct 2010 14:59:37 +0000
parents 4f0911fcac54
children 38216cc19aaa
files src/map.cpp
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/map.cpp
+++ b/src/map.cpp
@@ -42,8 +42,9 @@
 	if (!IsInsideMM(size_x, MIN_MAP_SIZE, MAX_MAP_SIZE + 1) ||
 			!IsInsideMM(size_y, MIN_MAP_SIZE, MAX_MAP_SIZE + 1) ||
 			(size_x & (size_x - 1)) != 0 ||
-			(size_y & (size_y - 1)) != 0)
+			(size_y & (size_y - 1)) != 0) {
 		error("Invalid map size");
+	}
 
 	DEBUG(map, 1, "Allocating map of size %dx%d", size_x, size_y);