mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2025-09-05 14:58:27 +00:00
cleanup enums to make them more consistent
This commit is contained in:
@@ -4,6 +4,7 @@
|
||||
#include "EntityManager.h"
|
||||
#include "GameMessages.h"
|
||||
#include "Character.h"
|
||||
#include "eMissionState.h"
|
||||
|
||||
void Darkitect::Reveal(Entity* self, Entity* player) {
|
||||
const auto playerID = player->GetObjectID();
|
||||
@@ -24,7 +25,7 @@ void Darkitect::Reveal(Entity* self, Entity* player) {
|
||||
destroyableComponent->SetHealth(1);
|
||||
destroyableComponent->SetImagination(0);
|
||||
|
||||
if (missionComponent->GetMissionState(1295) == MissionState::MISSION_STATE_ACTIVE) {
|
||||
if (missionComponent->GetMissionState(1295) == eMissionState::ACTIVE) {
|
||||
character->SetPlayerFlag(1911, true);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user