xup: from Marc, added missing bgcolor

This commit is contained in:
Jay Sorg 2013-06-27 16:23:12 -07:00
parent 2aad1b2d5d
commit b1389eac99
1 changed files with 5 additions and 0 deletions

View File

@ -534,6 +534,7 @@ lib_mod_process_orders(struct mod *mod, int type, struct stream *s)
int width;
int height;
int fgcolor;
int bgcolor;
int opcode;
char *bmpdata;
char cur_data[32 * (32 * 3)];
@ -594,6 +595,10 @@ lib_mod_process_orders(struct mod *mod, int type, struct stream *s)
in_uint32_le(s, fgcolor);
rv = mod->server_set_fgcolor(mod, fgcolor);
break;
case 13: /* server_set_bgcolor */
in_uint32_le(s, bgcolor);
rv = mod->server_set_bgcolor(mod, bgcolor);
break;
case 14:
in_uint16_le(s, opcode);
rv = mod->server_set_opcode(mod, opcode);