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:
parent
bbf9f20053
commit
b74e3a7e2e
1 changed files with 2 additions and 0 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue