We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3625326 commit 6df290bCopy full SHA for 6df290b
src/game/server/tf/tf_projectile_rocket.cpp
@@ -52,6 +52,13 @@ void CTFProjectile_Rocket::Spawn()
52
{
53
SetModel( ROCKET_MODEL );
54
BaseClass::Spawn();
55
+#ifdef BDSBASE
56
+ CBaseEntity* pTFOwner = GetOwnerEntity();
57
+ if (pTFOwner)
58
+ {
59
+ m_nSkin = (pTFOwner->GetTeamNumber() == TF_TEAM_BLUE) ? 1 : 0;
60
+ }
61
+#endif
62
}
63
64
//-----------------------------------------------------------------------------
0 commit comments