Core/Misc: Set the hard level of the waypoint wisp to 255. If you for *SOME*

reason had more than 255 waypoints, bad things (such as a client crash) would
happen.

--HG--
branch : trunk
This commit is contained in:
runningnak3d
2010-09-30 21:06:53 -06:00
parent 8e9b0647b5
commit b90c5d6760
+1 -1
View File
@@ -3045,7 +3045,7 @@ bool ChatHandler::HandleWpShowCommand(const char* args)
{
wpCreature->SetDisplayId(target->GetDisplayId());
wpCreature->SetFloatValue(OBJECT_FIELD_SCALE_X, 0.5);
wpCreature->SetLevel(point);
wpCreature->SetLevel(point > STRONG_MAX_LEVEL ? STRONG_MAX_LEVEL : point);
}
}
while (result->NextRow());