moved load_palette() call in StartNewLevelSub() to show HOARD textures and bitmaps correctly in OGL
This commit is contained in:
parent
6c0a00ac07
commit
0bc374acf9
|
@ -4,6 +4,7 @@ D2X-Rebirth Changelog
|
|||
--------
|
||||
arch/ogl/gr.c, main/gamecntl.c, main/newmenu.c: update viewing values at Fullscreen Toggle; added Fullscreen Toggle to Menus and Demo Playback
|
||||
2d/tmerge.c, tmerge_a.asm: fixed Assembler Compile Build error
|
||||
main/gameseq.c: moved load_palette() call in StartNewLevelSub() to show HOARD textures and bitmaps correctly in OGL
|
||||
|
||||
20070506
|
||||
--------
|
||||
|
|
|
@ -1834,6 +1834,9 @@ void StartNewLevelSub(int level_num, int page_in_textures, int secret_flag)
|
|||
#endif
|
||||
init_player_stats_level(secret_flag);
|
||||
|
||||
load_palette(Current_level_palette,0,1);
|
||||
gr_palette_load(gr_palette);
|
||||
|
||||
#ifdef NETWORK
|
||||
if ((Game_mode & GM_MULTI_COOP) && Network_rejoined)
|
||||
{
|
||||
|
@ -1856,9 +1859,6 @@ void StartNewLevelSub(int level_num, int page_in_textures, int secret_flag)
|
|||
|
||||
set_screen_mode(SCREEN_GAME);
|
||||
|
||||
load_palette(Current_level_palette,0,1);
|
||||
gr_palette_load(gr_palette);
|
||||
|
||||
init_cockpit();
|
||||
init_robots_for_level();
|
||||
init_ai_objects();
|
||||
|
|
Loading…
Reference in a new issue