diff options
| author | Teetime <anton.tsoulos@yahoo.de> | 2011-10-14 00:34:31 +0200 |
|---|---|---|
| committer | Teetime <anton.tsoulos@yahoo.de> | 2011-10-14 00:34:31 +0200 |
| commit | 7e155754d6adf0e80f700c17518bc2d18bb88bd8 (patch) | |
| tree | a02783f007e9e508f34ef9d61344cfd7ead24bad /src/game/server/entities | |
| parent | 8471bc0721196a45ade9f6af174eac8ab82d47bd (diff) | |
| download | zcatch-7e155754d6adf0e80f700c17518bc2d18bb88bd8.tar.gz zcatch-7e155754d6adf0e80f700c17518bc2d18bb88bd8.zip | |
new mode (grenade)
Diffstat (limited to 'src/game/server/entities')
| -rw-r--r-- | src/game/server/entities/character.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/game/server/entities/character.cpp b/src/game/server/entities/character.cpp index d7fd74a8..0e21f9a0 100644 --- a/src/game/server/entities/character.cpp +++ b/src/game/server/entities/character.cpp @@ -68,6 +68,11 @@ bool CCharacter::Spawn(CPlayer *pPlayer, vec2 Pos) m_ActiveWeapon = WEAPON_HAMMER; m_LastWeapon = WEAPON_HAMMER; } + else if(GameServer()->m_pController->IsZCatch() && g_Config.m_SvMode == 4) + { + m_ActiveWeapon = WEAPON_GRENADE; + m_LastWeapon = WEAPON_GRENADE; + } else { m_ActiveWeapon = WEAPON_GUN; |