Use precompiled header for all configurations; removed useless check for VS version

This commit is contained in:
phobos2077
2017-03-11 18:39:54 +07:00
parent 2e064580ed
commit 10bc859892
2 changed files with 2 additions and 8 deletions
-4
View File
@@ -107,11 +107,7 @@ static void SaveRealDudeState() {
static void TakeControlOfNPC(fo::GameObject* npc) { static void TakeControlOfNPC(fo::GameObject* npc) {
// remove skill tags // remove skill tags
long tagSkill[4]; long tagSkill[4];
#if (_MSC_VER < 1600)
std::fill(std_begin(tagSkill), std_end(tagSkill), -1);
#else
std::fill(std::begin(tagSkill), std::end(tagSkill), -1); std::fill(std::begin(tagSkill), std::end(tagSkill), -1);
#endif
fo::SkillSetTags(tagSkill, 4); fo::SkillSetTags(tagSkill, 4);
// reset traits // reset traits
+2 -4
View File
@@ -128,8 +128,7 @@
<FloatingPointModel>Fast</FloatingPointModel> <FloatingPointModel>Fast</FloatingPointModel>
<TreatWChar_tAsBuiltInType>false</TreatWChar_tAsBuiltInType> <TreatWChar_tAsBuiltInType>false</TreatWChar_tAsBuiltInType>
<RuntimeTypeInfo>false</RuntimeTypeInfo> <RuntimeTypeInfo>false</RuntimeTypeInfo>
<PrecompiledHeader> <PrecompiledHeader>Use</PrecompiledHeader>
</PrecompiledHeader>
<WarningLevel>Level3</WarningLevel> <WarningLevel>Level3</WarningLevel>
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat> <DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
<CallingConvention>Cdecl</CallingConvention> <CallingConvention>Cdecl</CallingConvention>
@@ -177,8 +176,7 @@
<FloatingPointModel>Fast</FloatingPointModel> <FloatingPointModel>Fast</FloatingPointModel>
<TreatWChar_tAsBuiltInType>false</TreatWChar_tAsBuiltInType> <TreatWChar_tAsBuiltInType>false</TreatWChar_tAsBuiltInType>
<RuntimeTypeInfo>false</RuntimeTypeInfo> <RuntimeTypeInfo>false</RuntimeTypeInfo>
<PrecompiledHeader> <PrecompiledHeader>Use</PrecompiledHeader>
</PrecompiledHeader>
<WarningLevel>Level3</WarningLevel> <WarningLevel>Level3</WarningLevel>
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat> <DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
<CallingConvention>Cdecl</CallingConvention> <CallingConvention>Cdecl</CallingConvention>