Core/Misc: Allow waypoint wisp to exceed level 100. If more than 100 waypoints

are generated, there will be errors thrown if you don't have level stats, but
this is acceptable.

--HG--
branch : trunk
This commit is contained in:
runningnak3d
2010-09-30 20:39:53 -06:00
parent c4710bde76
commit 8e9b0647b5
+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 > MAX_LEVEL ? MAX_LEVEL : point);
wpCreature->SetLevel(point);
}
}
while (result->NextRow());