From 29580f9823b39034de912669446b437d5231db32 Mon Sep 17 00:00:00 2001 From: zicodxx Date: Thu, 19 May 2011 23:49:01 +0200 Subject: [PATCH] Removed key_flush() call from save_screen_shot() - not needed anymore due to new input reading and only screws up ingame controls --- CHANGELOG.txt | 1 + arch/ogl/gr.c | 1 - main/game.c | 1 - 3 files changed, 1 insertion(+), 2 deletions(-) diff --git a/CHANGELOG.txt b/CHANGELOG.txt index bb171b5ba..1f95beeec 100644 --- a/CHANGELOG.txt +++ b/CHANGELOG.txt @@ -5,6 +5,7 @@ D1X-Rebirth Changelog main/fvi.c, main/fvi.h, main/physics.c: Improvement for fix_illegal_wall_interesection(): Move away from wall in right angle - not towards center. This improves the bumping in many situations and prevents ship getting stuck in small segments. Simplified and optimized code as well and removed check for degenerated Segments as not needed with this approach; Fixed some compiler warnings regarding set but unused variables main/multi.c: Reset new_Bounty_target after using it and let host add a number on how often Bounty is reassigned. Both additions should help keeping target correct no matter how if multiple packets of the same type are disordered, delayed or both main/physics.c: for fix_illegal_wall_intersection() try using the distance we moved to move out from the wall. Just in case it's a sane value, i.e. > 0 and <= obj->size/2 +arch/ogl/gr.c, main/game.c: Removed key_flush() call from save_screen_shot() - not needed anymore due to new input reading and only screws up ingame controls 20110516 -------- diff --git a/arch/ogl/gr.c b/arch/ogl/gr.c index 069e29b8a..2459974bc 100644 --- a/arch/ogl/gr.c +++ b/arch/ogl/gr.c @@ -825,6 +825,5 @@ void save_screen_shot(int automap_flag) write_bmp(savename,grd_curscreen->sc_w,grd_curscreen->sc_h,buf); d_free(buf); - key_flush(); start_time(); } diff --git a/main/game.c b/main/game.c index b7ea9150c..7a51a7348 100644 --- a/main/game.c +++ b/main/game.c @@ -526,7 +526,6 @@ void save_screen_shot(int automap_flag) gr_free_canvas(temp_canv); gr_set_current_canvas(save_canv); - key_flush(); start_time(); }