Changeset - r3446:f54384be1c27
[Not reviewed]
master
0 1 0
celestar - 19 years ago 2006-04-04 19:46:18
celestar@openttd.org
(svn r4278) -Fix: changed char to uint8 because signedness of char is undefined. Thanks to KUDr and Tron for research and stuff. (FS#98)
1 file changed with 4 insertions and 4 deletions:
0 comments (0 inline, 0 general)
table/elrail_data.h
Show inline comments
 
@@ -279,11 +279,11 @@ static const Direction PPPorder[DIAGDIR_
 
	}
 
};
 
/* Geometric placement of the PCP relative to the tile origin */
 
static const char x_pcp_offsets[DIAGDIR_END] = {0,  8, 15, 8};
 
static const char y_pcp_offsets[DIAGDIR_END] = {8, 15,  8, 0};
 
static const int8 x_pcp_offsets[DIAGDIR_END] = {0,  8, 15, 8};
 
static const int8 y_pcp_offsets[DIAGDIR_END] = {8, 15,  8, 0};
 
/* Geometric placement of the PPP relative to the PCP*/
 
static const char x_ppp_offsets[DIR_END] = {-3, -4, -3,  0, +3, +4, +3,  0};
 
static const char y_ppp_offsets[DIR_END] = {-3,  0, +3, +4, +3,  0, -3, -4};
 
static const int8 x_ppp_offsets[DIR_END] = {-3, -4, -3,  0, +3, +4, +3,  0};
 
static const int8 y_ppp_offsets[DIR_END] = {-3,  0, +3, +4, +3,  0, -3, -4};
 
/* The type of pylon to draw at each PPP */
 
static const SpriteID pylons_normal[] = {
 
	SPR_PYLON_EW_N,
0 comments (0 inline, 0 general)