diff --git a/main/polyobj.c b/main/polyobj.c index 27a19c2d6..ddfba5d16 100755 --- a/main/polyobj.c +++ b/main/polyobj.c @@ -761,7 +761,7 @@ void init_polygon_models() //more-or-less fill the canvas. Note that this routine actually renders //into an off-screen canvas that it creates, then copies to the current //canvas. -void draw_model_picture(int x, int y, int w, int h, int mn, vms_angvec *orient_angles) +void draw_model_picture(int mn,vms_angvec *orient_angles) { vms_vector temp_pos=ZERO_VECTOR; vms_matrix temp_orient = IDENTITY_MATRIX; diff --git a/main/polyobj.h b/main/polyobj.h index 712bb0e7b..b16f9b115 100755 --- a/main/polyobj.h +++ b/main/polyobj.h @@ -198,7 +198,7 @@ int read_model_guns(char *filename,vms_vector *gun_points, vms_vector *gun_dirs, //more-or-less fill the canvas. Note that this routine actually renders //into an off-screen canvas that it creates, then copies to the current //canvas. -void draw_model_picture(int x, int y, int w, int h, int mn,vms_angvec *orient_angles); +void draw_model_picture(int mn,vms_angvec *orient_angles); #define MAX_POLYOBJ_TEXTURES 50 extern grs_bitmap *texture_list[MAX_POLYOBJ_TEXTURES]; diff --git a/main/titles.c b/main/titles.c index 679a2586f..3dee1c555 100755 --- a/main/titles.c +++ b/main/titles.c @@ -454,18 +454,13 @@ void show_spinning_robot_frame(int robot_num) { grs_canvas *curcanv_save; - int x = rescale_x(138); - int y = rescale_y(55); - int w = rescale_x(162); - int h = rescale_y(134); - if (robot_num != -1) { Robot_angles.h += 150; curcanv_save = grd_curcanv; grd_curcanv = Robot_canv; Assert(Robot_info[robot_num].model_num != -1); - draw_model_picture(x, y, w, h, Robot_info[robot_num].model_num, &Robot_angles); + draw_model_picture(Robot_info[robot_num].model_num, &Robot_angles); grd_curcanv = curcanv_save; }