diff --git a/dCommon/dEnums/eHelpType.h b/dCommon/dEnums/eHelpType.h index 94f584e6..c2fa70cd 100644 --- a/dCommon/dEnums/eHelpType.h +++ b/dCommon/dEnums/eHelpType.h @@ -1,4 +1,5 @@ -#pragma once +#ifndef __EHELPTYPE__H__ +#define __EHELPTYPE__H__ #include @@ -35,3 +36,5 @@ enum class eHelpType : int32_t { PET_DESPAWN_TAMING_NEW_PET = 70, UI_INVENTORY_FULL_CANNOT_PICKUP_ITEM = 86 }; + +#endif //!__EHELPTYPE__H__ diff --git a/dCommon/dEnums/ePetAbilityType.h b/dCommon/dEnums/ePetAbilityType.h index 70cf75c6..3b2e5520 100644 --- a/dCommon/dEnums/ePetAbilityType.h +++ b/dCommon/dEnums/ePetAbilityType.h @@ -1,6 +1,5 @@ -#pragma once - -#include +#ifndef __EPETABILITYTYPE__H__ +#define __EPETABILITYTYPE__H__ enum class ePetAbilityType : int32_t { Invalid, @@ -8,3 +7,5 @@ enum class ePetAbilityType : int32_t { JumpOnObject, DigAtPosition }; + +#endif //!__EPETABILITYTYPE__H__ diff --git a/dGame/dComponents/BaseCombatAIComponent.h b/dGame/dComponents/BaseCombatAIComponent.h index f85fa70f..a08b008e 100644 --- a/dGame/dComponents/BaseCombatAIComponent.h +++ b/dGame/dComponents/BaseCombatAIComponent.h @@ -1,4 +1,5 @@ -#pragma once +#ifndef BASECOMBATAICOMPONENT_H +#define BASECOMBATAICOMPONENT_H #include "RakNetTypes.h" #include "dCommonVars.h" @@ -387,3 +388,5 @@ private: */ bool IsMech(); }; + +#endif // BASECOMBATAICOMPONENT_H diff --git a/dGame/dGameMessages/GameMessages.h b/dGame/dGameMessages/GameMessages.h index f1791904..6099f204 100644 --- a/dGame/dGameMessages/GameMessages.h +++ b/dGame/dGameMessages/GameMessages.h @@ -1,4 +1,5 @@ -#pragma once +#ifndef GAMEMESSAGES_H +#define GAMEMESSAGES_H #include "dCommonVars.h" #include @@ -661,3 +662,5 @@ namespace GameMessages { void HandleConfirmDonationOnPlayer(RakNet::BitStream* inStream, Entity* entity); void HandleCancelDonationOnPlayer(RakNet::BitStream* inStream, Entity* entity); }; + +#endif // GAMEMESSAGES_H