# HG changeset patch # User Adam Kaminski # Date 1624165149 14400 # Sun Jun 20 00:59:09 2021 -0400 # Node ID 96d2823770d64254cddf42293ef4c899e8ebc2d8 # Parent 9a08fe4f64a437f4dc4e1c15c2b6fb9b3d648eb0 Made a small yet insignificant change to MEDAL_Render. diff -r 9a08fe4f64a4 -r 96d2823770d6 src/medal.cpp --- a/src/medal.cpp Thu Jun 17 20:09:10 2021 -0400 +++ b/src/medal.cpp Sun Jun 20 00:59:09 2021 -0400 @@ -286,7 +286,7 @@ ulCurXPos += CleanXfac * TexMan[patchName]->GetWidth( ); } - ulCurXPos = SCREENWIDTH / 2 - CleanXfac * ( SmallFont->StringWidth( string ) / 2 ); + ulCurXPos = ( SCREENWIDTH - CleanXfac * SmallFont->StringWidth( string )) / 2; screen->DrawText( SmallFont, g_Medals[ulMedal].ulTextColor, ulCurXPos, ulCurYPos, string, DTA_CleanNoMove, true, DTA_Alpha, lAlpha, TAG_DONE ); } }