Changeset - r16334:752cbb1acf79
[Not reviewed]
master
0 1 0
alberth - 14 years ago 2010-10-29 14:59:37
alberth@openttd.org
(svn r21055) -Codechange [FS#4190]: Code style fix (chillcore)
1 file changed with 2 insertions and 1 deletions:
0 comments (0 inline, 0 general)
src/map.cpp
Show inline comments
 
@@ -42,8 +42,9 @@ void AllocateMap(uint size_x, uint size_
 
	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);
 

	
0 comments (0 inline, 0 general)