Update command.cpp

Fix #size command to be useful for anyone using the model field in npc_types.

All will remain the same for everyone else.
This commit is contained in:
Paul Coene 2020-02-03 13:47:16 -05:00 committed by GitHub
parent 424b669cbb
commit ad1f18306b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2543,7 +2543,7 @@ void command_size(Client *c, const Seperator *sep)
else if (!target)
c->Message(Chat::White,"Error: this command requires a target");
else {
uint16 Race = target->GetRace();
uint16 Race = target->GetModel();
uint8 Gender = target->GetGender();
uint8 Texture = 0xFF;
uint8 HelmTexture = 0xFF;