Added AzerothCore labels

This commit is contained in:
ShinDarth
2016-07-24 13:38:26 +02:00
parent 033924d8b4
commit b618b6a56f
39 changed files with 66 additions and 68 deletions

View File

@@ -16,8 +16,8 @@
* with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef SUNWELLCORE_CORPSE_H
#define SUNWELLCORE_CORPSE_H
#ifndef AZEROTHCORE_CORPSE_H
#define AZEROTHCORE_CORPSE_H
#include "Object.h"
#include "DatabaseEnv.h"

View File

@@ -16,8 +16,8 @@
* with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef SUNWELLCORE_CREATURE_H
#define SUNWELLCORE_CREATURE_H
#ifndef AZEROTHCORE_CREATURE_H
#define AZEROTHCORE_CREATURE_H
#include "Common.h"
#include "Unit.h"

View File

@@ -16,8 +16,8 @@
* with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef SUNWELLCORE_GOSSIP_H
#define SUNWELLCORE_GOSSIP_H
#ifndef AZEROTHCORE_GOSSIP_H
#define AZEROTHCORE_GOSSIP_H
#include "Common.h"
#include "QuestDef.h"

View File

@@ -16,8 +16,8 @@
* with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef SUNWELLCORE_TEMPSUMMON_H
#define SUNWELLCORE_TEMPSUMMON_H
#ifndef AZEROTHCORE_TEMPSUMMON_H
#define AZEROTHCORE_TEMPSUMMON_H
#include "Creature.h"

View File

@@ -16,8 +16,8 @@
* with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef SUNWELLCORE_DYNAMICOBJECT_H
#define SUNWELLCORE_DYNAMICOBJECT_H
#ifndef AZEROTHCORE_DYNAMICOBJECT_H
#define AZEROTHCORE_DYNAMICOBJECT_H
#include "Object.h"

View File

@@ -16,8 +16,8 @@
* with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef SUNWELLCORE_GAMEOBJECT_H
#define SUNWELLCORE_GAMEOBJECT_H
#ifndef AZEROTHCORE_GAMEOBJECT_H
#define AZEROTHCORE_GAMEOBJECT_H
#include "Common.h"
#include "SharedDefines.h"

View File

@@ -16,8 +16,8 @@
* with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef SUNWELLCORE_ITEM_H
#define SUNWELLCORE_ITEM_H
#ifndef AZEROTHCORE_ITEM_H
#define AZEROTHCORE_ITEM_H
#include "Common.h"
#include "Object.h"

View File

@@ -16,8 +16,8 @@
* with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef SUNWELLCORE_PET_H
#define SUNWELLCORE_PET_H
#ifndef AZEROTHCORE_PET_H
#define AZEROTHCORE_PET_H
#include "PetDefines.h"
#include "TemporarySummon.h"

View File

@@ -16,8 +16,8 @@
* with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef SUNWELLCORE_PET_DEFINES_H
#define SUNWELLCORE_PET_DEFINES_H
#ifndef AZEROTHCORE_PET_DEFINES_H
#define AZEROTHCORE_PET_DEFINES_H
enum PetType
{

View File

@@ -16,8 +16,8 @@
* with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef SUNWELLCORE_TOTEM_H
#define SUNWELLCORE_TOTEM_H
#ifndef AZEROTHCORE_TOTEM_H
#define AZEROTHCORE_TOTEM_H
#include "TemporarySummon.h"

View File

@@ -9306,7 +9306,7 @@ bool Unit::Attack(Unit* victim, bool meleeAttack)
if (GetTypeId() == TYPEID_PLAYER && IsMounted())
return false;
//if (HasFlag(UNIT_FIELD_FLAGS, UNIT_FLAG_PACIFIED)) // pussywizard: wtf? why having this flag prevents from entering combat? it should just prevent melee attack >_> tc retards https://github.com/SunwellCore/SunwellCore/commit/06f50110713feec2d6957e68ce2c5a5d2a997d6a
//if (HasFlag(UNIT_FIELD_FLAGS, UNIT_FLAG_PACIFIED)) // pussywizard: wtf? why having this flag prevents from entering combat? it should just prevent melee attack
// return false;
// nobody can attack GM in GM-mode