diff options
| author | Shauren <shauren.trinity@gmail.com> | 2011-03-21 10:52:14 +0100 |
|---|---|---|
| committer | Shauren <shauren.trinity@gmail.com> | 2011-03-21 10:52:14 +0100 |
| commit | 2f79b0f266e48778f13f9e183b41bfd8baa6f8bd (patch) | |
| tree | 24d015e1cd21d43393e690ce624db3dda9b3ed73 /src/server/game/AI/SmartScripts | |
| parent | f8162d609ba2d010fadaed56a0dc51df17c3b7a1 (diff) | |
Core: Removed all double (and more) empty lines
Diffstat (limited to 'src/server/game/AI/SmartScripts')
| -rw-r--r-- | src/server/game/AI/SmartScripts/SmartAI.cpp | 2 | ||||
| -rw-r--r-- | src/server/game/AI/SmartScripts/SmartScript.cpp | 3 | ||||
| -rw-r--r-- | src/server/game/AI/SmartScripts/SmartScriptMgr.cpp | 3 | ||||
| -rw-r--r-- | src/server/game/AI/SmartScripts/SmartScriptMgr.h | 2 |
4 files changed, 0 insertions, 10 deletions
diff --git a/src/server/game/AI/SmartScripts/SmartAI.cpp b/src/server/game/AI/SmartScripts/SmartAI.cpp index cc8bdc00d12..c88494f9c4b 100644 --- a/src/server/game/AI/SmartScripts/SmartAI.cpp +++ b/src/server/game/AI/SmartScripts/SmartAI.cpp @@ -15,7 +15,6 @@ * with this program. If not, see <http://www.gnu.org/licenses/>. */ - #include "DatabaseEnv.h" #include "SQLStorage.h" #include "ObjectMgr.h" @@ -211,7 +210,6 @@ void SmartAI::EndPath(bool fail) else GetScript()->SetPathId(0); - ObjectList* targets = GetScript()->GetTargetList(SMART_ESCORT_TARGETS); if (targets && mEscortQuestID) { diff --git a/src/server/game/AI/SmartScripts/SmartScript.cpp b/src/server/game/AI/SmartScripts/SmartScript.cpp index 766dab15701..3603c61fb69 100644 --- a/src/server/game/AI/SmartScripts/SmartScript.cpp +++ b/src/server/game/AI/SmartScripts/SmartScript.cpp @@ -15,7 +15,6 @@ * with this program. If not, see <http://www.gnu.org/licenses/>. */ - #include "DatabaseEnv.h" #include "SQLStorage.h" #include "ObjectMgr.h" @@ -2472,7 +2471,6 @@ void SmartScript::UpdateAIWhileCharmed(const uint32 diff) { } - void SmartScript::DoAction(const int32 param) { } @@ -2513,7 +2511,6 @@ uint32 SmartScript::DoChat(int8 id, uint64 whisperGuid) }*/ // SmartScript end - Unit* SmartScript::DoSelectLowestHpFriendly(float range, uint32 MinHPDiff) { if (!me) return NULL; diff --git a/src/server/game/AI/SmartScripts/SmartScriptMgr.cpp b/src/server/game/AI/SmartScripts/SmartScriptMgr.cpp index 31fedb11699..7d274448f39 100644 --- a/src/server/game/AI/SmartScripts/SmartScriptMgr.cpp +++ b/src/server/game/AI/SmartScripts/SmartScriptMgr.cpp @@ -15,7 +15,6 @@ * with this program. If not, see <http://www.gnu.org/licenses/>. */ - #include "DatabaseEnv.h" #include "SQLStorage.h" #include "ObjectMgr.h" @@ -63,7 +62,6 @@ void SmartWaypointMgr::LoadFromDB() y = fields[3].GetFloat(); z = fields[4].GetFloat(); - WayPoint *wp = new WayPoint(id, x, y, z); if (last_entry != entry) @@ -584,7 +582,6 @@ bool SmartAIMgr::IsEventValid(SmartScriptHolder &e) break; - case SMART_ACTION_SET_EVENT_PHASE: if (e.action.setEventPhase.phase >= SMART_EVENT_PHASE_MAX) { diff --git a/src/server/game/AI/SmartScripts/SmartScriptMgr.h b/src/server/game/AI/SmartScripts/SmartScriptMgr.h index 01568ee41f0..7095acb8c30 100644 --- a/src/server/game/AI/SmartScripts/SmartScriptMgr.h +++ b/src/server/game/AI/SmartScripts/SmartScriptMgr.h @@ -692,7 +692,6 @@ struct SmartAction uint32 id; } taxi; - struct { uint32 run; @@ -762,7 +761,6 @@ struct SmartAction uint32 id; } storeTargets; - struct { uint32 id; |
