aboutsummaryrefslogtreecommitdiffstats
path: root/src/text.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/text.h')
-rw-r--r--src/text.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/text.h b/src/text.h
index b90c160..0b318bb 100644
--- a/src/text.h
+++ b/src/text.h
@@ -133,7 +133,7 @@ txt_putc_hybrid(char c) {
133 int y = text_engine.cursor_y; 133 int y = text_engine.cursor_y;
134 Tile *buf = text_engine.memory; 134 Tile *buf = text_engine.memory;
135 buf[x + y * 30] = tile; 135 buf[x + y * 30] = tile;
136 dirty_tiles[y][x] = 1; 136 dirty_tiles[y] |= 1 << x;
137 text_engine.cursor_x += 1; 137 text_engine.cursor_x += 1;
138 if (text_engine.cursor_x >= 30) { 138 if (text_engine.cursor_x >= 30) {
139 text_engine.cursor_x = 0; 139 text_engine.cursor_x = 0;