Merge branch 'tracerestrict-sx' into jgrpp
# Conflicts: # src/rail_cmd.cpp
This commit is contained in:
@@ -2061,9 +2061,9 @@ static void DrawSingleSignal(TileIndex tile, const RailtypeInfo *rti, Track trac
|
|||||||
sprite = SPR_PROGSIGNAL_BASE + 16 + image * 2 + condition;
|
sprite = SPR_PROGSIGNAL_BASE + 16 + image * 2 + condition;
|
||||||
is_custom_sprite = false;
|
is_custom_sprite = false;
|
||||||
} else {
|
} else {
|
||||||
uint origin_slot = GetOriginFileSlot(sprite);
|
int origin_slot = GetOriginFileSlot(sprite);
|
||||||
extern uint _first_user_grf_file_index;
|
extern int _first_user_grf_file_index;
|
||||||
extern uint _opengfx_grf_file_index;
|
extern int _opengfx_grf_file_index;
|
||||||
if (!is_custom_sprite) is_custom_sprite = origin_slot != _opengfx_grf_file_index && (origin_slot >= _first_user_grf_file_index);
|
if (!is_custom_sprite) is_custom_sprite = origin_slot != _opengfx_grf_file_index && (origin_slot >= _first_user_grf_file_index);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user