removed unused function
[rocksndiamonds.git] / src / libgame / text.c
index 78e79b4d030b18e75c59c60a163b781129107f58..aa71f15b63c97e32ab155233db1ee5bce06d5ad7 100644 (file)
@@ -183,11 +183,6 @@ void DrawTextSCentered(int y, int font_nr, char *text)
           gfx.sy + y, text, font_nr);
 }
 
-void DrawTextCentered(int y, int font_nr, char *text)
-{
-  DrawText((gfx.sxsize - getTextWidth(text, font_nr)) / 2, y, text, font_nr);
-}
-
 void DrawTextSAligned(int x, int y, char *text, int font_nr, int align)
 {
   DrawText(gfx.sx + ALIGNED_XPOS(x, getTextWidth(text, font_nr), align),