changeset 36246:b474a1e925c0

Remove a special-case that doesn't really make much of a visual difference.
author reimar
date Wed, 12 Jun 2013 18:54:20 +0000
parents 081cb3fca68f
children b9aec2e77319
files libvo/matrixview.c
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/libvo/matrixview.c	Wed Jun 12 18:54:19 2013 +0000
+++ b/libvo/matrixview.c	Wed Jun 12 18:54:20 2013 +0000
@@ -145,8 +145,8 @@
                 bump_pic[p] = Z_Depth;
             }
 
-            if (text[p] && c > 10)
-                draw_char(text[p] + 1, c, x, y, text_depth[p] + bump_pic[p]);
+            if (c > 10)
+                draw_char(text[p], c, x, y, text_depth[p] + bump_pic[p]);
 
             if (text_depth[p] < 0.1)
                 text_depth[p] = 0;
@@ -154,7 +154,7 @@
                 text_depth[p] /= 1.1;
 
             if (text_light[p] > 128 && text_light[p + text_x] < 10)
-                draw_illuminatedchar(text[p] + 1, x, y,
+                draw_illuminatedchar(text[p], x, y,
                                      text_depth[p] + bump_pic[p]);
 
             p++;