* Tiny cosmetic fix for last two commits.
--HG-- branch : trunk
This commit is contained in:
+1
-4
@@ -3058,10 +3058,7 @@ bool ChatHandler::HandleWpShowCommand(const char* args)
|
|||||||
{
|
{
|
||||||
wpCreature->SetDisplayId(target->GetDisplayId());
|
wpCreature->SetDisplayId(target->GetDisplayId());
|
||||||
wpCreature->SetFloatValue(OBJECT_FIELD_SCALE_X, 0.5);
|
wpCreature->SetFloatValue(OBJECT_FIELD_SCALE_X, 0.5);
|
||||||
if(point > 100)
|
wpCreature->SetLevel(point > MAX_LEVEL ? MAX_LEVEL : point);
|
||||||
wpCreature->SetLevel(100);
|
|
||||||
else
|
|
||||||
wpCreature->SetLevel(point);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
while( result->NextRow() );
|
while( result->NextRow() );
|
||||||
|
|||||||
Reference in New Issue
Block a user