src/newgrf.cpp
changeset 8084 aa5d431209a9
parent 8074 6441201410d7
child 8089 35b1c3d3ec66
equal deleted inserted replaced
8083:ad22eade501f 8084:aa5d431209a9
   950 					if (dts->ground_sprite == 0) continue;
   950 					if (dts->ground_sprite == 0) continue;
   951 					if (HasBit(dts->ground_pal, 15)) {
   951 					if (HasBit(dts->ground_pal, 15)) {
   952 						ClrBit(dts->ground_pal, 15);
   952 						ClrBit(dts->ground_pal, 15);
   953 						SetBit(dts->ground_sprite, SPRITE_MODIFIER_USE_OFFSET);
   953 						SetBit(dts->ground_sprite, SPRITE_MODIFIER_USE_OFFSET);
   954 					}
   954 					}
       
   955 					if (HasBit(dts->ground_sprite, 15)) {
       
   956 						ClrBit(dts->ground_sprite, 15);
       
   957 						SetBit(dts->ground_sprite, PALETTE_MODIFIER_COLOR);
       
   958 					}
       
   959 					if (HasBit(dts->ground_sprite, 14)) {
       
   960 						ClrBit(dts->ground_sprite, 14);
       
   961 						SetBit(dts->ground_sprite, PALETTE_MODIFIER_TRANSPARENT);
       
   962 					}
   955 
   963 
   956 					while (buf < *bufp + len) {
   964 					while (buf < *bufp + len) {
   957 						DrawTileSeqStruct *dtss;
   965 						DrawTileSeqStruct *dtss;
   958 
   966 
   959 						/* no relative bounding box support */
   967 						/* no relative bounding box support */