* Tiny cosmetic fix for last two commits.

--HG--
branch : trunk
This commit is contained in:
XTZGZoReX
2010-01-14 20:09:19 +01:00
parent 5fd047cd90
commit 6a21fbbc65

View File

@@ -3058,10 +3058,7 @@ bool ChatHandler::HandleWpShowCommand(const char* args)
{
wpCreature->SetDisplayId(target->GetDisplayId());
wpCreature->SetFloatValue(OBJECT_FIELD_SCALE_X, 0.5);
if(point > 100)
wpCreature->SetLevel(100);
else
wpCreature->SetLevel(point);
wpCreature->SetLevel(point > MAX_LEVEL ? MAX_LEVEL : point);
}
}
while( result->NextRow() );