View Issue Details

IDProjectCategoryView StatusLast Update
0002110FSSCPHUDpublic2010-02-04 21:16
ReporterKeldorKatarn Assigned ToWanderer  
PrioritynormalSeveritytrivialReproducibilityalways
Status resolvedResolutionfixed 
PlatformIBM PCOSMS WindowsOS VersionVista SP2
Product Version3.6.11 
Summary0002110: The Escort List doesn't use the colors specified by $Ship IFF Colors: in ships.tbl
DescriptionThe summary says it all. Patch attached.
TagsNo tags attached.

Activities

2010-01-30 22:41

 

escort_iff.patch (559 bytes)   
Index: code/hud/hudescort.cpp
===================================================================
--- code/hud/hudescort.cpp	(revision 5859)
+++ code/hud/hudescort.cpp	(working copy)
@@ -538,7 +538,7 @@
 
 
 	// Goober5000 - now base this on team color
-	gr_set_color_fast(iff_get_color_by_team(team, seen_from_team, is_bright));
+	gr_set_color_fast(iff_get_color_by_team_and_object(team, seen_from_team, is_bright, &Objects[Escort_ships[index].objnum]));
 
 
 	// Goober5000 - an alternative; same as original but incorporating teams for non-friendlies
escort_iff.patch (559 bytes)   

Issue History

Date Modified Username Field Change
2010-01-30 22:40 KeldorKatarn New Issue
2010-01-30 22:41 KeldorKatarn File Added: escort_iff.patch
2010-02-03 21:40 Wanderer Status new => assigned
2010-02-03 21:40 Wanderer Assigned To => Wanderer
2010-02-04 21:16 Wanderer Status assigned => resolved
2010-02-04 21:16 Wanderer Resolution open => fixed