Almost match CPowerBomb::AcceptScriptMessage

Former-commit-id: 267f40bff8
This commit is contained in:
2023-01-13 17:12:51 -08:00
parent 3c22eeb6ed
commit a1d818ef46
2 changed files with 6 additions and 7 deletions

View File

@@ -99,7 +99,6 @@ void CPowerBomb::AcceptScriptMsg(EScriptObjectMessage msg, TUniqueId uid, CState
case kSM_Registered:
mgr.AddWeaponId(GetOwnerId(), GetWeaponType());
OrigDamageInfo().SetRadius(0.f);
if (mgr.GetPlayerState()->IsPlayerAlive()) {
CSfxManager::AddEmitter(SFXsfx0710, GetTranslation(), CVector3f::Zero(), true, false);
mgr.InformListeners(GetTranslation(), kLNT_BombExplode);