diff --git a/CHANGELOG.txt b/CHANGELOG.txt index c127b5009..98435b3a8 100644 --- a/CHANGELOG.txt +++ b/CHANGELOG.txt @@ -8,6 +8,7 @@ arch/sdl/window.c, main/automap.c, main/escort.c, main/game.c, main/gamecntl.c, main/kconfig.c, main/newmenu.c: Tidy up newmenu_show/hide_cursor calls main/newmenu.c: Allow user to abort close, for whatever reason (helps with my next commit) main/gamesave.c, main/newdemo.c, main/object.c, main/object.h, main/state.c: Improved Object signature assignment and made sure there will be no duplicates; Also used short-ranged values only so Demo system won't screw up +main/newdemo.c: Resetting DemoDoLeft/Right correctly at start of each demo 20100127 -------- diff --git a/main/newdemo.c b/main/newdemo.c index b19ea478a..c19b5f706 100644 --- a/main/newdemo.c +++ b/main/newdemo.c @@ -3585,8 +3585,8 @@ void newdemo_start_playback(char * filename) Function_mode = FMODE_GAME; init_seismic_disturbances(); Newdemo_dead = Newdemo_rear = Newdemo_guided = 0; - PlayerCfg.Cockpit3DView[0] = CV_NONE; //turn off 3d views on cockpit - PlayerCfg.Cockpit3DView[1] = CV_NONE; //turn off 3d views on cockpit + PlayerCfg.Cockpit3DView[0] = PlayerCfg.Cockpit3DView[1] = CV_NONE; //turn off 3d views on cockpit + DemoDoLeft = DemoDoRight = 0; HUD_clear_messages(); newdemo_playback_one_frame(); // this one loads new level newdemo_playback_one_frame(); // get all of the objects to renderb game