From 077c99128ec93510370f556054c78abaced3dc3d Mon Sep 17 00:00:00 2001 From: Bradley Bell Date: Sat, 31 Mar 2018 01:21:52 -0700 Subject: [PATCH] use the orientation parameter of g3_draw_bitmap This doesn't actually have any effect. The one place that calls this, draw_object_blob(), was written to give some randomness to explosions by altering their orientation, but for some reason this was disabled before release. We could re-enable it there if desired. --- 3d/rod.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/3d/rod.c b/3d/rod.c index 7282a6cf..e06884e0 100644 --- a/3d/rod.c +++ b/3d/rod.c @@ -160,7 +160,7 @@ bool g3_draw_bitmap(vms_vector *pos,fix width,fix height,grs_bitmap *bm, int ori blob_vertices[1].x = blob_vertices[2].x = pnt.p3_sx + w; blob_vertices[2].y = pnt.p3_sy + h; - scale_bitmap(bm,blob_vertices,0); + scale_bitmap(bm, blob_vertices, orientation); return 0; #else @@ -188,7 +188,7 @@ bool g3_draw_bitmap(vms_vector *pos,fix width,fix height,grs_bitmap *bm, int ori blob_vertices[1].x = blob_vertices[2].x = pnt.p3_sx + w; blob_vertices[2].y = pnt.p3_sy + h; - scale_bitmap(bm, blob_vertices, 0); + scale_bitmap(bm, blob_vertices, orientation); return 0; #endif -- 2.39.2