(svn r1667) - Feature: Signs are now shown in the color of the player who created them

(Note: The player information is currently not stored in savegames. Upon loading a game the signs will all be gray again)
This commit is contained in:
dominik
2005-01-25 15:38:36 +00:00
parent de64977957
commit 85e768c11f
6 changed files with 29 additions and 7 deletions

View File

@@ -930,7 +930,7 @@ static void ViewportAddSigns(DrawPixelInfo *dpi)
sstd=AddStringToDraw(ss->sign.left + 1, ss->sign.top + 1, STR_2806, ss->str, 0, 0);
if (sstd != NULL) {
sstd->width = ss->sign.width_1;
sstd->color = 14;
sstd->color = (ss->owner==OWNER_NONE)?14:_player_colors[ss->owner];
}
}
}