direct mode fix

This commit is contained in:
p.kosyh 2011-04-14 10:02:18 +00:00
parent 2ed708a8f7
commit a0360c6e78

View file

@ -3116,13 +3116,16 @@ int game_loop(void)
// game_highlight(ev.x, ev.y, 1); // game_highlight(ev.x, ev.y, 1);
} }
if (old_xref) if (game_theme.gfx_mode != GFX_MODE_DIRECT) {
game_highlight(x, y, 1); if (old_xref)
else { game_highlight(x, y, 1);
int x, y; else {
gfx_cursor(&x, &y); int x, y;
game_highlight(x, y, 1); gfx_cursor(&x, &y);
game_highlight(x, y, 1);
}
} }
game_cursor(CURSOR_ON); game_cursor(CURSOR_ON);
if (err_msg) { if (err_msg) {
mouse_reset(1); mouse_reset(1);