Skip to content

Commit e95fd07

Browse files
committed
fixed the TDM hud, change version to 1.0.1
1 parent 57c3e02 commit e95fd07

File tree

5 files changed

+21
-18
lines changed

5 files changed

+21
-18
lines changed

game/quiver/info_changelog.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
1-
Quiver Private Alpha 1.1.0:
1+
Quiver Private Alpha 1.0.1:
22
- Whitelisted the Back Scatter and Force-a-Nature.
33
- Removed the Force-a-Nature's stun.
4+
- Fixed a bug where the TDM HUD is overlayed over other gamemode's HUD elements.
45

56
Quiver Private Alpha 1.0.0:
67
- Demoman and Soldier speed has been decreased to 315 from 340.

game/quiver/resource/ui/HudObjectiveTDMPanel.res

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
"zpos" "1"
1010
"wide" "f0"
1111
"tall" "480"
12-
"visible" "1"
12+
"visible" "0"
1313
"enabled" "1"
1414
}
1515

game/quiver/steam.inf

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
PatchVersion=21100
2-
ClientVersion=21100
3-
ServerVersion=21100
1+
PatchVersion=2101
2+
ClientVersion=2101
3+
ServerVersion=2101
44
ProductName=quiver
55
appID=243750
66
ServerAppID=244310

game/quiver/version.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
version=Private Alpha 1.1.0
1+
version=Private Alpha 1.0.1

src/game/shared/tf/tf_gamerules.cpp

Lines changed: 14 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -4459,24 +4459,26 @@ void CTFGameRules::Activate()
44594459
}
44604460

44614461
#if defined(QUIVER_DLL) || defined(QUIVER_CLIENT_DLL)
4462-
if (qf_allow_tdm.GetBool() &&
4463-
(m_nGameType == TF_GAMETYPE_UNDEFINED ||
4462+
if (m_nGameType == TF_GAMETYPE_UNDEFINED ||
44644463
StringHasPrefix(STRING(gpGlobals->mapname), "tdm_") ||
4465-
StringHasPrefix(STRING(gpGlobals->mapname), "dm_")))
4464+
StringHasPrefix(STRING(gpGlobals->mapname), "dm_"))
44664465
{
4467-
// no fraglimit will disable it too.
4468-
if (qf_tdm_fraglimit.GetInt() > 0)
4466+
if (qf_allow_tdm.GetBool())
44694467
{
4470-
if (fraglimit.GetInt() == 0)
4468+
// no fraglimit will disable it too.
4469+
if (qf_tdm_fraglimit.GetInt() > 0)
44714470
{
4472-
fraglimit.SetValue(qf_tdm_fraglimit.GetInt());
4473-
}
4471+
if (fraglimit.GetInt() == 0)
4472+
{
4473+
fraglimit.SetValue(qf_tdm_fraglimit.GetInt());
4474+
}
44744475

4475-
m_nGameType.Set(QF_GAMETYPE_TDM);
4476-
qf_gamemode_tdm.SetValue(1);
4476+
m_nGameType.Set(QF_GAMETYPE_TDM);
4477+
qf_gamemode_tdm.SetValue(1);
44774478

4478-
Msg("Executing team deathmatch config file\n");
4479-
engine->ServerCommand("exec config_tdm.cfg\n");
4479+
Msg("Executing team deathmatch config file\n");
4480+
engine->ServerCommand("exec config_tdm.cfg\n");
4481+
}
44804482
}
44814483
}
44824484
#endif

0 commit comments

Comments
 (0)