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) {
|
||||
// remove skill tags
|
||||
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);
|
||||
#endif
|
||||
fo::SkillSetTags(tagSkill, 4);
|
||||
|
||||
// reset traits
|
||||
|
||||
+2
-4
@@ -128,8 +128,7 @@
|
||||
<FloatingPointModel>Fast</FloatingPointModel>
|
||||
<TreatWChar_tAsBuiltInType>false</TreatWChar_tAsBuiltInType>
|
||||
<RuntimeTypeInfo>false</RuntimeTypeInfo>
|
||||
<PrecompiledHeader>
|
||||
</PrecompiledHeader>
|
||||
<PrecompiledHeader>Use</PrecompiledHeader>
|
||||
<WarningLevel>Level3</WarningLevel>
|
||||
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
|
||||
<CallingConvention>Cdecl</CallingConvention>
|
||||
@@ -177,8 +176,7 @@
|
||||
<FloatingPointModel>Fast</FloatingPointModel>
|
||||
<TreatWChar_tAsBuiltInType>false</TreatWChar_tAsBuiltInType>
|
||||
<RuntimeTypeInfo>false</RuntimeTypeInfo>
|
||||
<PrecompiledHeader>
|
||||
</PrecompiledHeader>
|
||||
<PrecompiledHeader>Use</PrecompiledHeader>
|
||||
<WarningLevel>Level3</WarningLevel>
|
||||
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
|
||||
<CallingConvention>Cdecl</CallingConvention>
|
||||
|
||||
Reference in New Issue
Block a user