format codebase

This commit is contained in:
aronwk-aaron
2022-07-28 08:39:57 -05:00
parent 4f7aa11067
commit 19e77a38d8
881 changed files with 34700 additions and 38689 deletions

View File

@@ -1,8 +1,7 @@
#include "ActPlayerDeathTrigger.h"
void ActPlayerDeathTrigger::OnCollisionPhantom(Entity* self, Entity* target)
{
void ActPlayerDeathTrigger::OnCollisionPhantom(Entity* self, Entity* target) {
if (!target->IsPlayer() || target->GetIsDead() || !target->GetPlayerReadyForUpdates()) return; //Don't kill already dead players or players not ready
target->Smash(self->GetObjectID(), eKillType::SILENT);
target->Smash(self->GetObjectID(), eKillType::SILENT);
}