Skip to content

Commit b4c98de

Browse files
authored
Fix incorrect param order (scp-fs2open#7284)
1 parent 52081e2 commit b4c98de

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

code/scripting/api/objs/shipclass.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1158,7 +1158,7 @@ ADE_FUNC(renderTechModel,
11581158
}
11591159
}
11601160

1161-
return ade_set_args(L, "b", render_tech_model(TECH_SHIP, x1, y1, x2, y2, zoom, lighting, idx, &orient, tcolor));
1161+
return ade_set_args(L, "b", render_tech_model(TECH_SHIP, x1, y1, x2, y2, zoom, lighting, idx, &orient, "" , 0.0f, &vmd_zero_vector, tcolor));
11621162
}
11631163

11641164
// Nuke's alternate tech model rendering function
@@ -1191,7 +1191,7 @@ ADE_FUNC(renderTechModel2, l_Shipclass, "number X1, number Y1, number X2, number
11911191
}
11921192
}
11931193

1194-
return ade_set_args(L, "b", render_tech_model(TECH_SHIP, x1, y1, x2, y2, zoom, true, idx, orient, tcolor));
1194+
return ade_set_args(L, "b", render_tech_model(TECH_SHIP, x1, y1, x2, y2, zoom, true, idx, orient, "" , 0.0f, &vmd_zero_vector, tcolor));
11951195
}
11961196

11971197
ADE_FUNC(renderSelectModel,

0 commit comments

Comments
 (0)