Shape_frame *shape = gumps.get_shape(shapenum, framenum);
Shape_frame *shape; if (shapenum & 0x1000) shape = paperdolls.get_shape(shapenum & 0xFFF, framenum); else shape = gumps.get_shape(shapenum, framenum);
	void paint_gump(int xoff, int yoff, int shapenum, int framenum)		{		Shape_frame *shape = gumps.get_shape(shapenum, framenum);		if (shape)			paint_shape(xoff, yoff, shape);		}