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

View File

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