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

Commit e3d56a1

Browse files
committed
Missed a few breaks in TextPrimitive::Draw
1 parent b0ceef4 commit e3d56a1

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

System/Primitive.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -150,9 +150,11 @@ namespace RTE {
150150
case false:
151151
g_FrameMan.GetLargeFont()->DrawAligned(&pPlayerGUIBitmap, drawStartLeft.m_X, drawStartLeft.m_Y, m_Text, m_Alignment);
152152
g_FrameMan.GetLargeFont()->DrawAligned(&pPlayerGUIBitmap, drawStartRight.m_X, drawStartRight.m_Y, m_Text, m_Alignment);
153+
break;
153154
case true:
154155
g_FrameMan.GetSmallFont()->DrawAligned(&pPlayerGUIBitmap, drawStartLeft.m_X, drawStartLeft.m_Y, m_Text, m_Alignment);
155156
g_FrameMan.GetSmallFont()->DrawAligned(&pPlayerGUIBitmap, drawStartRight.m_X, drawStartRight.m_Y, m_Text, m_Alignment);
157+
break;
156158
}
157159
}
158160
}

0 commit comments

Comments
 (0)