color-dfhack-text: Fix potential overflow issue

develop
lethosor 2016-08-22 23:18:58 -04:00
parent 2dccd1d0ff
commit f4b0c2fcfc
1 changed files with 1 additions and 1 deletions

@ -16,7 +16,7 @@ REQUIRE_GLOBAL(gps);
struct { struct {
bool flicker; bool flicker;
uint8_t color; uint8_t color;
short tick; uint8_t tick;
} config; } config;
void color_text_tile(const Screen::Pen &pen, int x, int y, bool map); void color_text_tile(const Screen::Pen &pen, int x, int y, bool map);