1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2025-02-06 06:45:35 +00:00

Fix(CS): Enum name in accordance with current standards

This commit is contained in:
Dave Corley 2023-12-13 17:53:05 -06:00
parent 6f2ae4a33b
commit 89bce6f678
2 changed files with 7 additions and 7 deletions

View file

@ -202,7 +202,7 @@ namespace CSMWorld
copy.getLandData()->mHeights[i] = values[i];
}
copy.mFlags |= Land::FLAG_HEIGHT;
copy.mFlags |= Land::Flag_HeightsNormals;
record.setModified(copy);
}
@ -251,7 +251,7 @@ namespace CSMWorld
copy.getLandData()->mColours[i] = values[i];
}
copy.mFlags |= Land::FLAG_COLOR;
copy.mFlags |= Land::Flag_Colors;
record.setModified(copy);
}
@ -300,7 +300,7 @@ namespace CSMWorld
copy.getLandData()->mTextures[i] = values[i];
}
copy.mFlags |= Land::FLAG_TEXTURE;
copy.mFlags |= Land::Flag_Textures;
record.setModified(copy);
}

View file

@ -66,11 +66,11 @@ namespace ESM
DATA_VTEX = 16
};
enum
enum Flags
{
FLAG_HEIGHT = 1,
FLAG_COLOR = 2,
FLAG_TEXTURE = 4
Flag_HeightsNormals = 0x1,
Flag_Colors = 0x2,
Flag_Textures = 0x4
};
// default height to use in case there is no Land record