Skip to content
This repository was archived by the owner on Jan 5, 2024. It is now read-only.

Commit c2ada89

Browse files
committed
remove conditinoal which does nothing
1 parent e09f57f commit c2ada89

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Main.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -614,7 +614,7 @@ bool PlayIntroTitle() {
614614
for (int star = 0; star < starCount; ++star)
615615
{
616616
size = aStars[star].m_Size;
617-
int intensity = 185 * aStars[star].m_Intensity + (size == StarSmall ? 35 : (size == StarLarge ? 70 : 70)) * PosRand();
617+
int intensity = 185 * aStars[star].m_Intensity + (size == StarSmall ? 35 : 70) * PosRand();
618618
set_screen_blender(intensity, intensity, intensity, intensity);
619619
starDrawPos.SetXY(aStars[star].m_Pos.m_X, aStars[star].m_Pos.m_Y - scrollOffset.m_Y * aStars[star].m_ScrollRatio);
620620
draw_trans_sprite(g_FrameMan.GetBackBuffer32(), aStars[star].m_pBitmap, starDrawPos.GetFloorIntX(), starDrawPos.GetFloorIntY());

0 commit comments

Comments
 (0)