Skip to content

Commit

Permalink
Fix typo when drawing roadsigns with show owner tool selected
Browse files Browse the repository at this point in the history
git-svn-id: svn://tron.homeunix.org/simutrans/simutrans/trunk@11015 8aca7d54-2c30-db11-9de9-000461428c89
  • Loading branch information
ceeac committed Nov 30, 2023
1 parent d7d286b commit 35e28a8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/simutrans/obj/roadsign.cc
Original file line number Diff line number Diff line change
Expand Up @@ -543,7 +543,7 @@ void roadsign_t::display_after(int xpos, int ypos, bool ) const
// draw with owner
if( get_owner_nr() != PLAYER_UNOWNED ) {
if( obj_t::show_owner ) {
display_blend( foreground_image, xpos, ypos, 0, color_idx_to_rgb(get_owner()->get_player_color1()+2) | OUTLINE_FLAG | TRANSPARENT75_FLAG, 0, dirty CLIP_NUM_PAR);
display_blend( foreground_image, xpos, ypos, 0, color_idx_to_rgb(get_owner()->get_player_color1()+2) | OUTLINE_FLAG | TRANSPARENT75_FLAG, 0, get_flag(obj_t::dirty) CLIP_NUM_PAR);
}
else {
display_color( foreground_image, xpos, ypos, get_owner_nr(), true, get_flag(obj_t::dirty) CLIP_NUM_PAR);
Expand Down

0 comments on commit 35e28a8

Please sign in to comment.