aboutsummaryrefslogtreecommitdiff
path: root/src/game/Level2.cpp
diff options
context:
space:
mode:
authorBrian <runningnak3d@gmail.com>2010-01-14 14:05:56 -0700
committerBrian <runningnak3d@gmail.com>2010-01-14 14:05:56 -0700
commitbf6c5b3ee6adf507412f3850e844e8cda017c0e5 (patch)
tree72f55a68cc28a2b212d6ac777491a4bd19034fb2 /src/game/Level2.cpp
parenta428293dae905f7c3730277ac15fe5f5cba70aa5 (diff)
* Add support for waypoint wisp's level to show the point of the waypoint
* Author Kaelima * Thanks Malcrom for the idea --HG-- branch : trunk
Diffstat (limited to 'src/game/Level2.cpp')
-rw-r--r--src/game/Level2.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/game/Level2.cpp b/src/game/Level2.cpp
index f93b7fc326a..28179568a28 100644
--- a/src/game/Level2.cpp
+++ b/src/game/Level2.cpp
@@ -3058,6 +3058,7 @@ bool ChatHandler::HandleWpShowCommand(const char* args)
{
wpCreature->SetDisplayId(target->GetDisplayId());
wpCreature->SetFloatValue(OBJECT_FIELD_SCALE_X, 0.5);
+ wpCreature->SetLevel(point);
}
}
while( result->NextRow() );