Reset the player object for the editor, since demo playback mucks it up

This commit is contained in:
Chris Taylor 2012-04-17 15:11:49 +08:00
parent a5f9d3933d
commit 36aeba165a
2 changed files with 2 additions and 0 deletions

View file

@ -3,6 +3,7 @@ D1X-Rebirth Changelog
20120417
--------
main/gameseq.c: Allow level progressing if playing the builtin mission with EDITOR compiled - only exit if Current_level_num is 0
editor/med.c: Reset the player object for the editor, since demo playback mucks it up
20120416
--------

View file

@ -447,6 +447,7 @@ void init_editor()
Viewer = ConsoleObject;
slew_init(ConsoleObject);
init_player_object();
Update_flags = UF_ALL;