Fix issue with hud_bgstretch cvar overwriting adjacent values in memory

git-svn-id: https://svn.eduke32.com/eduke32@6224 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
terminx 2017-06-23 03:58:08 +00:00
parent e3f3a8ce33
commit 8cda268514
2 changed files with 4 additions and 4 deletions

View file

@ -160,13 +160,13 @@ typedef struct {
vec2_t m_origin; vec2_t m_origin;
int32_t playerbest; int32_t playerbest;
int32_t configversion; int32_t configversion, bgstretch;
#if !defined LUNATIC #if !defined LUNATIC
int16_t cameraang, camerasect, camerahoriz; int16_t cameraang, camerasect, camerahoriz;
#endif #endif
int16_t pause_on,from_bonus; int16_t pause_on,from_bonus;
int16_t camerasprite,last_camsprite; int16_t camerasprite,last_camsprite;
int16_t last_level,secretlevel, bgstretch; int16_t last_level,secretlevel;
struct { struct {
int32_t UseJoystick; int32_t UseJoystick;

View file

@ -518,11 +518,11 @@ typedef struct {
vec2_t m_origin; vec2_t m_origin;
int32_t playerbest; int32_t playerbest;
int32_t configversion; int32_t configversion, bgstretch;
int16_t pause_on,from_bonus; int16_t pause_on,from_bonus;
int16_t camerasprite,last_camsprite; int16_t camerasprite,last_camsprite;
int16_t last_level,secretlevel, bgstretch; int16_t last_level,secretlevel;
struct { struct {
int32_t UseJoystick; int32_t UseJoystick;