From: Samual Date: Tue, 5 Apr 2011 11:24:00 +0000 (-0400) Subject: ACTUALLY make drawpic_aspect_skin_expanding use the proper rendering for the aspect... X-Git-Tag: xonotic-v0.5.0~307^2~10^2 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=f50f98ba4dc11df0e0096c7cddb57ff61027953b;p=xonotic%2Fxonotic-data.pk3dir.git ACTUALLY make drawpic_aspect_skin_expanding use the proper rendering for the aspect ratio. Fixes a bug that the expanding image mismatches the normal image in the HUD, now can be used for any HUD skin --- diff --git a/qcsrc/client/miscfunctions.qc b/qcsrc/client/miscfunctions.qc index d38b7c9ba..41ecb91ef 100644 --- a/qcsrc/client/miscfunctions.qc +++ b/qcsrc/client/miscfunctions.qc @@ -501,7 +501,7 @@ void drawpic_aspect_skin_expanding(vector position, string pic, vector scale, ve float sz; sz = expandingbox_sizefactor_from_fadelerp(fadelerp); - drawpic_skin(position + expandingbox_resize_centered_box_offset(sz, scale, 1), pic, scale * sz, rgb, alpha * (1 - fadelerp), flag); + drawpic_aspect_skin(position + expandingbox_resize_centered_box_offset(sz, scale, 1), pic, scale * sz, rgb, alpha * (1 - fadelerp), flag); } void drawpic_aspect_skin_expanding_two(vector position, string pic, vector scale, vector rgb, float alpha, float flag, float fadelerp)