mirror of
https://github.com/TES3MP/TES3MP.git
synced 2025-09-30 16:45:17 -04:00
[Client] Include spellIds in Cast packets again, fixing problem from 190c404b38df444693ec25cfe61925d81af6b162
This commit is contained in:
parent
bbf9f20053
commit
b74e3a7e2e
@ -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…
x
Reference in New Issue
Block a user