diff options
Diffstat (limited to 'src/game')
-rw-r--r-- | src/game/Level2.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/game/Level2.cpp b/src/game/Level2.cpp index 28179568a28..c5be89e0cf2 100644 --- a/src/game/Level2.cpp +++ b/src/game/Level2.cpp @@ -3058,7 +3058,10 @@ bool ChatHandler::HandleWpShowCommand(const char* args) { wpCreature->SetDisplayId(target->GetDisplayId()); wpCreature->SetFloatValue(OBJECT_FIELD_SCALE_X, 0.5); - wpCreature->SetLevel(point); + if(point > 100) + wpCreature->SetLevel(100); + else + wpCreature->SetLevel(point); } } while( result->NextRow() ); |