fix potential bug where show_reticle parameters mismatch
This commit is contained in:
parent
ae5975c7a0
commit
7ca570a8b6
|
@ -1,5 +1,9 @@
|
|||
D1X-Rebirth Changelog
|
||||
|
||||
20080313
|
||||
--------
|
||||
main/render.c: fix potential bug where show_reticle parameters mismatch
|
||||
|
||||
20080308
|
||||
--------
|
||||
main/aipath.c, main/collide.c, main/fvi.c, main/game.c, main/gauges.c, main/mission.c, main/netdrv.c, main/newdemo.c, main/newdemo.h, main/newmenu.c, main/object.c: Fixed some memory issues; Fixed some HUD element alignment; Only send NetDrv packets if NetDrvInstalled is true; Fixed demo glitches; Actually using Game_mode in demos to make Newdemo_game_mode hacking obsolete
|
||||
|
|
|
@ -174,7 +174,7 @@ void free_reticle_canvas()
|
|||
reticle_canvas = NULL;
|
||||
}
|
||||
|
||||
extern void show_reticle(int force_big);
|
||||
extern void show_reticle();
|
||||
|
||||
// Draw the reticle in 3D for head tracking
|
||||
void draw_3d_reticle(fix eye_offset)
|
||||
|
@ -231,7 +231,7 @@ void draw_3d_reticle(fix eye_offset)
|
|||
saved_canvas = grd_curcanv;
|
||||
gr_set_current_canvas(reticle_canvas);
|
||||
gr_clear_canvas( 255 ); // Clear to Xparent
|
||||
show_reticle(1);
|
||||
show_reticle();
|
||||
gr_set_current_canvas(saved_canvas);
|
||||
|
||||
saved_interp_method=Interpolation_method;
|
||||
|
|
Loading…
Reference in a new issue