diff options
author | megamage <none@none> | 2009-04-09 13:39:23 -0500 |
---|---|---|
committer | megamage <none@none> | 2009-04-09 13:39:23 -0500 |
commit | 5a71d93bd24880866890f4b5193db60d4aff0c96 (patch) | |
tree | a5b208dcae4a99012343aedd0dedcb7479900a6b /src/game/Map.cpp | |
parent | ba4e54f2f7d411eb60c8927e358d2835019a657a (diff) |
*Update vehicle code.
*Show correct visual effects to other players.
*Do not allow attack players on vehicle.
*Only dismiss vehicle when it is summoned.
--HG--
branch : trunk
Diffstat (limited to 'src/game/Map.cpp')
-rw-r--r-- | src/game/Map.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/Map.cpp b/src/game/Map.cpp index 4aa6494ac5d..ac81b9c2a6d 100644 --- a/src/game/Map.cpp +++ b/src/game/Map.cpp @@ -723,7 +723,7 @@ void Map::Update(const uint32 &t_diff) } } - if(plr->m_seer != plr) + if(plr->m_seer != plr && !plr->hasUnitState(UNIT_STAT_ONVEHICLE)) { Trinity::PlayerVisibilityNotifier notifier(*plr); VisitAll(plr->m_seer->GetPositionX(), plr->m_seer->GetPositionY(), World::GetMaxVisibleDistance(), notifier); |