mirror of
https://github.com/sfall-team/sfall.git
synced 2026-07-27 16:52:34 -07:00
Use precompiled header for all configurations; removed useless check for VS version
This commit is contained in:
@@ -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
@@ -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>
|
||||||
|
|||||||
Reference in New Issue
Block a user