diff options
| author | joschiwald <joschiwald@online.de> | 2013-11-24 21:49:51 +0100 |
|---|---|---|
| committer | joschiwald <joschiwald@online.de> | 2013-11-24 21:49:51 +0100 |
| commit | 9a0bb93b336e30619d2c59bd3c0f902bc1e61d23 (patch) | |
| tree | 3377e1d535e73ef784a8daad5fa965281a1241cb /src/server/scripts/Northrend | |
| parent | 2c307aa67c713fef0c13956f640daa6263062327 (diff) | |
Scripts: fix warning and cleanup npc_apprentice_mirveda
Diffstat (limited to 'src/server/scripts/Northrend')
| -rw-r--r-- | src/server/scripts/Northrend/Nexus/Oculus/oculus.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/server/scripts/Northrend/Nexus/Oculus/oculus.cpp b/src/server/scripts/Northrend/Nexus/Oculus/oculus.cpp index e4ffe24754a..4b24e5a81fb 100644 --- a/src/server/scripts/Northrend/Nexus/Oculus/oculus.cpp +++ b/src/server/scripts/Northrend/Nexus/Oculus/oculus.cpp @@ -154,7 +154,7 @@ class npc_verdisa_beglaristrasz_eternos : public CreatureScript } return; case GOSSIP_MENU_BELGARISTRASZ: - if (gossipListId >= 0 && gossipListId <= 2) + if (gossipListId <= 2) { if (gossipListId == 1) RemoveEssence(player, ITEM_AMBER_ESSENCE); @@ -274,7 +274,7 @@ class npc_ruby_emerald_amber_drake : public CreatureScript me->SetDisableGravity(false); // Needed this for proper animation after spawn, the summon in air fall to ground bug leave no other option for now, if this isn't used the drake will only walk on move. } - void PassengerBoarded(Unit* passenger, int8 seatId, bool apply) + void PassengerBoarded(Unit* passenger, int8 /*seatId*/, bool apply) OVERRIDE { if (passenger->GetTypeId() != TYPEID_PLAYER) return; |
