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

pull/3236/head
Dave Corley 1 year ago
parent 6f2ae4a33b
commit 89bce6f678

@ -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);
}

@ -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

Loading…
Cancel
Save