Changeset - r18342:a03ade1d616f
[Not reviewed]
master
0 1 0
yexo - 13 years ago 2011-11-11 18:01:41
yexo@openttd.org
(svn r23188) -Fix (r23168): fences on steep slopes were broken
1 file changed with 2 insertions and 2 deletions:
0 comments (0 inline, 0 general)
src/table/clear_land.h
Show inline comments
 
@@ -29,32 +29,32 @@ static const byte _fence_mod_by_tileh_sw
 

	
 
static const byte _fence_mod_by_tileh_se[32] = {
 
	1, 1, 5, 5, 3, 3, 1, 1,
 
	1, 1, 5, 5, 3, 3, 1, 1,
 
	1, 1, 5, 5, 3, 3, 1, 5,
 
	1, 1, 5, 5, 3, 3, 3, 1,
 
};
 

	
 
static const byte _fence_mod_by_tileh_ne[32] = {
 
	0, 0, 0, 0, 4, 4, 4, 4,
 
	2, 2, 2, 2, 0, 0, 0, 0,
 
	0, 0, 0, 0, 4, 4, 4, 4,
 
	2, 2, 2, 2, 0, 0, 0, 0,
 
	2, 2, 2, 2, 0, 2, 4, 0,
 
};
 

	
 
static const byte _fence_mod_by_tileh_nw[32] = {
 
	1, 5, 1, 5, 1, 5, 1, 5,
 
	3, 1, 3, 1, 3, 1, 3, 1,
 
	1, 5, 1, 5, 1, 5, 1, 5,
 
	3, 1, 3, 1, 3, 1, 3, 1,
 
	3, 1, 3, 5, 3, 3, 3, 1,
 
};
 

	
 

	
 
static const SpriteID _clear_land_fence_sprites[7] = {
 
	SPR_HEDGE_BUSHES,
 
	SPR_HEDGE_BUSHES_WITH_GATE,
 
	SPR_HEDGE_FENCE,
 
	SPR_HEDGE_BLOOMBUSH_YELLOW,
 
	SPR_HEDGE_BLOOMBUSH_RED,
 
	SPR_HEDGE_STONE,
 
};
 

	
0 comments (0 inline, 0 general)