mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-11-16 09:31:14 +00:00
- Copied global compatibility flags to FLevelLocals.
This commit is contained in:
parent
68decdddfa
commit
3e7e174d36
1 changed files with 5 additions and 0 deletions
|
@ -45,6 +45,8 @@
|
|||
#include "p_destructible.h"
|
||||
|
||||
|
||||
extern int i_compatflags, i_compatflags2;
|
||||
|
||||
struct FLevelData
|
||||
{
|
||||
TArray<vertex_t> vertexes;
|
||||
|
@ -89,6 +91,9 @@ struct FLevelLocals : public FLevelData
|
|||
void SetInterMusic(const char *nextmap);
|
||||
void SetMusicVolume(float v);
|
||||
|
||||
int li_compatflags = i_compatflags;
|
||||
int li_compatflags2 = i_compatflags2;
|
||||
|
||||
uint8_t md5[16]; // for savegame validation. If the MD5 does not match the savegame won't be loaded.
|
||||
int time; // time in the hub
|
||||
int maptime; // time in the map
|
||||
|
|
Loading…
Reference in a new issue