Fix tile background colors in CopyScreen

develop
lethosor 2016-04-12 17:10:54 -04:00
parent f18ebf120b
commit 999d89c5af
1 changed files with 1 additions and 1 deletions

@ -2057,7 +2057,7 @@ static command_result CopyScreen(color_ostream &stream, const EmptyMessage *in,
auto tile = out->add_tiles(); auto tile = out->add_tiles();
tile->set_character(gps->screen[index]); tile->set_character(gps->screen[index]);
tile->set_foreground(gps->screen[index + 1] | (gps->screen[index + 3] * 8)); tile->set_foreground(gps->screen[index + 1] | (gps->screen[index + 3] * 8));
tile->set_background(gps->screen[index]); tile->set_background(gps->screen[index + 2]);
} }
return CR_OK; return CR_OK;