diff options
Diffstat (limited to 'src/text.h')
-rw-r--r-- | src/text.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; |