file wasnt saved whoops!
This commit is contained in:
parent
f58e08a922
commit
e9a71e11ad
1 changed files with 2 additions and 2 deletions
|
@ -442,13 +442,13 @@ bool Commands::SetSpawnCommand(Client* client, Spawn* target, int8 type, const c
|
|||
}
|
||||
case SPAWN_SET_VALUE_HP:{
|
||||
sprintf(tmp, "%i", target->GetHP());
|
||||
target->SetTotalHPBase(val, send_update);
|
||||
target->SetTotalHPBase(val);
|
||||
target->SetHP(val, send_update);
|
||||
break;
|
||||
}
|
||||
case SPAWN_SET_VALUE_POWER:{
|
||||
sprintf(tmp, "%i", target->GetPower());
|
||||
target->SetTotalPowerBase(val, false);
|
||||
target->SetTotalPowerBase(val);
|
||||
target->SetPower(val, send_update);
|
||||
break;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue