@@ -39,7 +39,7 @@ bool color_text_tile(const Screen::Pen &pen, int x, int y, bool map, int32_t * d
3939 pen2.bg = color;
4040 pen2.bold = true ;
4141 }
42- return color_text_hook.next ()(pen2, x, y, map);
42+ return color_text_hook.next ()(pen2, x, y, map, texpos_field );
4343}
4444
4545bool aaaaa_set_tile (const Screen::Pen &pen, int x, int y, bool map, int32_t * df::graphic_viewportst::*texpos_field);
@@ -51,15 +51,15 @@ bool aaaaa_set_tile(const Screen::Pen &pen, int x, int y, bool map, int32_t * df
5151 pen2.ch = ' A' ;
5252 else if (pen.ch >= ' a' && pen.ch <= ' z' )
5353 pen2.ch = ' a' ;
54- return aaaaa_set_tile_hook.next ()(pen2, x, y, map);
54+ return aaaaa_set_tile_hook.next ()(pen2, x, y, map, texpos_field );
5555}
5656
5757bool shift_set_tile (const Screen::Pen &pen, int x, int y, bool map, int32_t * df::graphic_viewportst::*texpos_field);
5858GUI_HOOK_CALLBACK (Screen::Hooks::set_tile, shift_set_tile_hook, shift_set_tile);
5959bool shift_set_tile (const Screen::Pen &pen, int x, int y, bool map, int32_t * df::graphic_viewportst::*texpos_field = NULL )
6060{
6161 x = (x + 1 ) % gps->dimx ;
62- return shift_set_tile_hook.next ()(pen, x, y, map);
62+ return shift_set_tile_hook.next ()(pen, x, y, map, texpos_field );
6363}
6464
6565DFhackCExport command_result plugin_enable (color_ostream &out, bool enable)
0 commit comments