mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2024-12-23 14:03:34 +00:00
6aa90ad5b2
* Breakout rest of the enums from dcommonvars so we don't have to deal with merge conflicts ePlayerFlags is not a scoped enum, yet, due to it's complexity * address feedback * make player flag types consistent * fix typo
10 lines
253 B
C++
10 lines
253 B
C++
#include "NjhubLavaPlayerDeathTrigger.h"
|
|
#include "Entity.h"
|
|
|
|
void NjhubLavaPlayerDeathTrigger::OnCollisionPhantom(Entity* self, Entity* target) {
|
|
if (!target->IsPlayer())
|
|
return;
|
|
|
|
target->Smash(self->GetObjectID(), eKillType::VIOLENT, u"drown");
|
|
}
|