fixed broken Textures for Custom levels caused by load_palette() call

This commit is contained in:
zicodxx 2007-05-05 09:36:33 +00:00
parent 146ada52d3
commit e9017c4a02
2 changed files with 5 additions and 1 deletions

View file

@ -1,5 +1,9 @@
D2X-Rebirth Changelog D2X-Rebirth Changelog
20070505
--------
main/gameseq.c: fixed broken Textures for Custom levels caused by load_palette() call
20070503 20070503
-------- --------
CHANGELOG.txt, COPYING.txt, INSTALL.txt, README.txt: updated docs CHANGELOG.txt, COPYING.txt, INSTALL.txt, README.txt: updated docs

View file

@ -1856,7 +1856,7 @@ void StartNewLevelSub(int level_num, int page_in_textures, int secret_flag)
set_screen_mode(SCREEN_GAME); set_screen_mode(SCREEN_GAME);
load_palette(Current_level_palette,1,1); load_palette(Current_level_palette,0,1);
gr_palette_load(gr_palette); gr_palette_load(gr_palette);
init_cockpit(); init_cockpit();