Changeset - r26366:f258782888cb
[Not reviewed]
master
0 1 0
frosch - 21 months ago 2022-09-10 20:56:27
frosch@openttd.org
Fix: [NewGRF] Result bit 0 of callback 14 was not ignored in the GUI.
1 file changed with 1 insertions and 1 deletions:
0 comments (0 inline, 0 general)
src/newgrf_station.cpp
Show inline comments
 
@@ -789,7 +789,7 @@ bool DrawStationTile(int x, int y, RailT
 

	
 
	if (HasBit(statspec->callback_mask, CBM_STATION_SPRITE_LAYOUT)) {
 
		uint16 callback = GetStationCallback(CBID_STATION_SPRITE_LAYOUT, 0, 0, statspec, nullptr, INVALID_TILE);
 
		if (callback != CALLBACK_FAILED) tile = callback;
 
		if (callback != CALLBACK_FAILED) tile = callback & ~1;
 
	}
 

	
 
	uint32 total_offset = rti->GetRailtypeSpriteOffset();
0 comments (0 inline, 0 general)