enginecompatibilitymode -> enginecompatibility_mode

This commit is contained in:
carnivoroussociety 2021-08-19 20:44:13 +10:00
parent 0e0c4e692f
commit f0627fa6c2

View file

@ -4646,7 +4646,7 @@ int MoveThing(spritetype *pSprite)
assert(nSector >= 0 && nSector < kMaxSectors); assert(nSector >= 0 && nSector < kMaxSectors);
int top, bottom; int top, bottom;
GetSpriteExtents(pSprite, &top, &bottom); GetSpriteExtents(pSprite, &top, &bottom);
const int bakCompat = enginecompatibilitymode; const int bakCompat = enginecompatibility_mode;
if (xvel[nSprite] || yvel[nSprite]) if (xvel[nSprite] || yvel[nSprite])
{ {
short bakCstat = pSprite->cstat; short bakCstat = pSprite->cstat;
@ -5431,7 +5431,7 @@ int MoveMissile(spritetype *pSprite)
int top, bottom; int top, bottom;
GetSpriteExtents(pSprite, &top, &bottom); GetSpriteExtents(pSprite, &top, &bottom);
int i = 1; int i = 1;
const int bakCompat = enginecompatibilitymode; const int bakCompat = enginecompatibility_mode;
while (1) while (1)
{ {
int x = pSprite->x; int x = pSprite->x;