diff --git a/desktop_version/src/Logic.cpp b/desktop_version/src/Logic.cpp index 6ab156e6..7ca26a37 100644 --- a/desktop_version/src/Logic.cpp +++ b/desktop_version/src/Logic.cpp @@ -145,15 +145,7 @@ void gamecompletelogic() graphics.titlebg.scrolldir = 1; graphics.updatetitlecolours(); - graphics.col_tr = map.r - (help.glow / 4) - fRandom() * 4; - graphics.col_tg = map.g - (help.glow / 4) - fRandom() * 4; - graphics.col_tb = map.b - (help.glow / 4) - fRandom() * 4; - if (graphics.col_tr < 0) graphics.col_tr = 0; - if(graphics.col_tr>255) graphics.col_tr=255; - if (graphics.col_tg < 0) graphics.col_tg = 0; - if(graphics.col_tg>255) graphics.col_tg=255; - if (graphics.col_tb < 0) graphics.col_tb = 0; - if(graphics.col_tb>255) graphics.col_tb=255; + titleupdatetextcol(); game.creditposition--; if (game.creditposition <= -Credits::creditmaxposition)