aboutsummaryrefslogtreecommitdiff
path: root/src/server/scripts
diff options
context:
space:
mode:
authorShauren <shauren.trinity@gmail.com>2013-10-17 00:20:00 +0200
committerShauren <shauren.trinity@gmail.com>2013-10-17 00:20:00 +0200
commit59fd2520fc3fd87a05857ba6a10bbfd0b10c36f1 (patch)
tree2fe125ce6ad755774aea9800167a3a6f947c9bea /src/server/scripts
parentc91a25f33960fd9b01092c09c14aeef48d46fa7e (diff)
Core/Creatures: Removed remains of creature_transport table
Diffstat (limited to 'src/server/scripts')
-rw-r--r--src/server/scripts/Commands/cs_npc.cpp11
1 files changed, 0 insertions, 11 deletions
diff --git a/src/server/scripts/Commands/cs_npc.cpp b/src/server/scripts/Commands/cs_npc.cpp
index 746904289be..a1b23fd5935 100644
--- a/src/server/scripts/Commands/cs_npc.cpp
+++ b/src/server/scripts/Commands/cs_npc.cpp
@@ -897,17 +897,6 @@ public:
return false;
}
- if (target->GetTransport() && target->GetGUIDTransport())
- {
- PreparedStatement* stmt = WorldDatabase.GetPreparedStatement(WORLD_UPD_CREATURE_TRANSPORT_EMOTE);
-
- stmt->setInt32(0, int32(emote));
- stmt->setInt32(1, target->GetTransport()->GetEntry());
- stmt->setInt32(2, target->GetGUIDTransport());
-
- WorldDatabase.Execute(stmt);
- }
-
target->SetUInt32Value(UNIT_NPC_EMOTESTATE, emote);
return true;