Skip to content

Commit

Permalink
color twin nameplates red
Browse files Browse the repository at this point in the history
  • Loading branch information
selb committed Oct 29, 2024
1 parent b309ef7 commit 79e9254
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions gameSource/hetuwmod.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2737,6 +2737,8 @@ bool HetuwMod::isRelated( LiveObject* player ) {
void HetuwMod::getRelationNameColor( const char* name, float* color ) {
if ( !name ) {
color[0] = 1.0f; color[1] = 1.0f; color[2] = 1.0f;
} else if (strstr(name, "IDENTICAL TWIN")) {
color[0] = 1.0f; color[1] = 0.0f; color[2] = 0.0f;
} else if ( strstr( name, "MOTHER" )) {
if ( strstr( name, "GRANDMOTHER" )) {
color[0] = 0.0f; color[1] = 0.7f; color[2] = 0.0f;
Expand Down

0 comments on commit 79e9254

Please sign in to comment.