Skip to content

Commit 83a920f

Browse files
committed
1 parent 7524bdd commit 83a920f

File tree

3 files changed

+5
-1
lines changed

3 files changed

+5
-1
lines changed

game/quiver/info_changelog.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,7 @@ Quiver Private Alpha 1.1.0 (WIP):
6868
- Removed the headshot range restriction for the Railgun.
6969
- Bots can now use go-karts.
7070
- Bots can now use the Shortstop's shove.
71+
- Fixed a bug where bots continuously eat sandviches in spawn.
7172
- Added the following Source SDK Pull Requests:
7273
- #1437: MvM: Fix Explosive Headshot working on invulnerable target
7374
- #1440: Treat being in background map as not in-game

src/game/server/tf/tf_objective_resource.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,9 @@ class CTFObjectiveResource : public CBaseTeamObjectiveResource
6767
string_t GetMvMPopfileName( void ) const { return m_iszMvMPopfileName.Get(); }
6868

6969
void SetMannVsMachineEventPopfileType( int nType ){ m_nMvMEventPopfileType.Set( nType ); }
70+
#ifdef BDSBASE
71+
int GetMvMEventPopfileType(void) { return m_nMvMEventPopfileType; }
72+
#endif
7073

7174
string_t GetTeleporterString() const { return m_teleporterString; }
7275

src/game/server/tf/tf_player.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10006,7 +10006,7 @@ int CTFPlayer::OnTakeDamage( const CTakeDamageInfo &inputInfo )
1000610006
pRandomInternalOrgan->KeyValue("origin", buf);
1000710007
Q_snprintf(buf, sizeof(buf), "%.10f %.10f %.10f", GetAbsAngles().x, GetAbsAngles().y, GetAbsAngles().z);
1000810008
pRandomInternalOrgan->KeyValue("angles", buf);
10009-
if (IsServerUsingTheFunnyMVMCvar() || (TFGameRules()->IsMannVsMachineMode() && GetTeamNumber() == TF_TEAM_PVE_INVADERS && BloodColor() == DONT_BLEED))
10009+
if (IsServerUsingTheFunnyMVMCvar() || (TFGameRules()->IsMannVsMachineMode() && GetTeamNumber() == TF_TEAM_PVE_INVADERS && BloodColor() == DONT_BLEED && TFObjectiveResource()->GetMvMEventPopfileType() != MVM_EVENT_POPFILE_HALLOWEEN))
1001010010
{
1001110011
//robots don't have spleens....
1001210012
pRandomInternalOrgan->KeyValue("model", "models/player/gibs/gibs_bolt.mdl");

0 commit comments

Comments
 (0)