about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--src/engine/client/text.cpp7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/engine/client/text.cpp b/src/engine/client/text.cpp
index daf5cdb0..828aa3fd 100644
--- a/src/engine/client/text.cpp
+++ b/src/engine/client/text.cpp
@@ -354,8 +354,11 @@ class CTextRender : public IEngineTextRender
 		}
 		else
 		{
-			Grow(ms_aGlyphData, ms_aGlyphDataOutlined, SlotW, SlotH);
-			Grow(ms_aGlyphDataOutlined, ms_aGlyphData, SlotW, SlotH);
+			for(int i = OutlineThickness; i > 0; i-=2)
+			{
+				Grow(ms_aGlyphData, ms_aGlyphDataOutlined, SlotW, SlotH);
+				Grow(ms_aGlyphDataOutlined, ms_aGlyphData, SlotW, SlotH);
+			}
 			UploadGlyph(pSizeData, 1, SlotId, Chr, ms_aGlyphData);
 		}