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

This commit is contained in:
Chris Taylor 2012-04-17 15:13:08 +08:00
parent 1c85ce7848
commit 770080f612
2 changed files with 2 additions and 0 deletions

View file

@ -4,6 +4,7 @@ D2X-Rebirth Changelog
--------
main/game.c: Make sure Cursegp is initialised if using it to set an object when loading a game (EDITOR build). Thought I already committed this
main/gameseq.c: Finish the game cleanly, closing Game_wind, 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

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