Skip to content

Commit 1ceef0f

Browse files
committed
Merge remote-tracking branch 'origin/base' into base
2 parents 1b1233c + 69927d5 commit 1ceef0f

File tree

6 files changed

+13
-28
lines changed

6 files changed

+13
-28
lines changed

src/engine/sv_main.cpp

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2909,12 +2909,6 @@ void SV_Frame( bool finalTick )
29092909
return;
29102910
}
29112911

2912-
// let the steam auth server process new connections
2913-
if ( IsPC() && sv.IsMultiplayer() )
2914-
{
2915-
Steam3Server().RunFrame();
2916-
}
2917-
29182912
g_ServerGlobalVariables.frametime = host_state.interval_per_tick;
29192913

29202914
bool bIsSimulating = SV_IsSimulating();
@@ -2961,5 +2955,11 @@ void SV_Frame( bool finalTick )
29612955

29622956
// lock string tables
29632957
networkStringTableContainerServer->Lock( true );
2958+
2959+
// let the steam auth server process new connections
2960+
if ( IsPC() && sv.IsMultiplayer() )
2961+
{
2962+
Steam3Server().RunFrame();
2963+
}
29642964
}
29652965

src/game/client/tf/c_tf_player.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8486,7 +8486,7 @@ int C_TFPlayer::GetVisionFilterFlags( bool bWeaponsCheck /*= false */ )
84868486

84878487
// check for holidays and add them in to the mix
84888488
// Halloween / Fullmoon vision
8489-
if ( TFGameRules()->IsHolidayActive( kHoliday_HalloweenOrFullMoon ) || true )
8489+
if ( TFGameRules()->IsHolidayActive( kHoliday_HalloweenOrFullMoon ) )
84908490
{
84918491
nVisionOptInFlags |= TF_VISION_FILTER_HALLOWEEN;
84928492
}

src/game/shared/econ/econ_item_system.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -520,11 +520,12 @@ class CGCUpdateItemSchema : public GCSDK::CGCClientJob
520520
// Check if we're already up-to-date
521521
m_nExpectedVersion = msg.Body().item_schema_version();
522522
uint32 nCurrentSchemaVersion = ItemSystem()->GetItemSchema()->GetVersion();
523-
if ( m_nExpectedVersion != 0 && m_nExpectedVersion == nCurrentSchemaVersion )
523+
if ( m_nExpectedVersion != 0 && m_nExpectedVersion == nCurrentSchemaVersion || m_nExpectedVersion == 1265307132 && nCurrentSchemaVersion == 1797044324 )
524524
{
525525
Msg( "Current item schema is up-to-date with version %08X.\n", nCurrentSchemaVersion );
526526
return true;
527527
}
528+
Warning( "Current item schema is outdated with version %d instead of %d.\n", nCurrentSchemaVersion, m_nExpectedVersion );
528529

529530
m_sSignature = msg.Body().signature();
530531

src/game/shared/teamplayroundbased_gamerules.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -806,7 +806,7 @@ void CTeamplayRoundBasedRules::GoToIntermission( void )
806806
{
807807
if ( IsInTournamentMode() == true
808808
#ifdef TF_DLL
809-
&& TFGameRules() && !TFGameRules()->IsMannVsMachineMode()
809+
&& TFGameRules() && TFGameRules()->IsMannVsMachineMode()
810810
#endif
811811
)
812812
return;

src/game/shared/tf/tf_weaponbase_melee.cpp

Lines changed: 1 addition & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -971,23 +971,7 @@ float CTFWeaponBaseMelee::GetForceScale( void )
971971
float CTFWeaponBaseMelee::GetMeleeDamage( CBaseEntity *pTarget, int* piDamageType, int* piCustomDamage )
972972
{
973973
float flDamage = m_pWeaponInfo->GetWeaponData( m_iWeaponMode ).m_nDamage;
974-
if (GetWeaponID() == TF_WEAPON_WRENCH && dynamic_cast<CBaseObject*>(pTarget))
975-
{
976-
// Don't stack damage mults for buildings if we're using a wrench.
977-
// This is so that damage vs sappers and buildings are similar
978-
// Sappers use a static value of 65 base damage, modified by the building damage multiplier
979-
// However, buildings **are** usually affected by the base multiplier
980-
float flDamageBuildingMult = 1.0f;
981-
CALL_ATTRIB_HOOK_FLOAT(flDamageBuildingMult, mult_dmg_vs_buildings);
982-
if (flDamageBuildingMult == 1.0f)
983-
{
984-
CALL_ATTRIB_HOOK_FLOAT(flDamage, mult_dmg);
985-
}
986-
}
987-
else
988-
{
989-
CALL_ATTRIB_HOOK_FLOAT( flDamage, mult_dmg );
990-
}
974+
CALL_ATTRIB_HOOK_FLOAT( flDamage, mult_dmg );
991975

992976
int iCritDoesNoDamage = 0;
993977
CALL_ATTRIB_HOOK_INT( iCritDoesNoDamage, crit_does_no_damage );

src/public/bone_setup.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2632,14 +2632,14 @@ class CIKSolver
26322632
X[i] = P[i];
26332633
normalize(X);
26342634

2635-
// Its y axis is perpendicular to P, so Y = unit( E - X(E·X) ).
2635+
// Its y axis is perpendicular to P, so Y = unit( E - X(EX) ).
26362636

26372637
float dDOTx = dot(D,X);
26382638
for (i = 0 ; i < 3 ; i++)
26392639
Y[i] = D[i] - dDOTx * X[i];
26402640
normalize(Y);
26412641

2642-
// Its z axis is perpendicular to both X and Y, so Z = X×Y.
2642+
// Its z axis is perpendicular to both X and Y, so Z = XY.
26432643

26442644
cross(X,Y,Z);
26452645

0 commit comments

Comments
 (0)