1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-03-30 01:06:44 +00:00

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

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;
}