[Client] Include spellIds in Cast packets again, fixing problem from 190c404b38df444693ec25cfe61925d81af6b162

This commit is contained in:
David Cernat 2019-11-28 00:11:51 +02:00
parent bbf9f20053
commit b74e3a7e2e

View File

@ -1189,6 +1189,7 @@ bool CharacterController::updateCreatureState()
{
MechanicsHelper::resetCast(localCast);
localCast->type = mwmp::Cast::REGULAR;
localCast->spellId = spellid;
localCast->pressed = true;
localCast->shouldSend = true;
}
@ -1581,6 +1582,7 @@ bool CharacterController::updateWeaponState(CharacterState& idle)
{
MechanicsHelper::resetCast(localCast);
localCast->type = mwmp::Cast::REGULAR;
localCast->spellId = spellid;
localCast->pressed = true;
localCast->shouldSend = true;
}