diff --git a/apps/opencs/model/world/columnimp.cpp b/apps/opencs/model/world/columnimp.cpp index a3b9f3b5ae..a97fc85ec7 100644 --- a/apps/opencs/model/world/columnimp.cpp +++ b/apps/opencs/model/world/columnimp.cpp @@ -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); } diff --git a/components/esm3/loadland.hpp b/components/esm3/loadland.hpp index 9e1f71e12b..3f01f021e0 100644 --- a/components/esm3/loadland.hpp +++ b/components/esm3/loadland.hpp @@ -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