mirror of
https://github.com/SapphireServer/Sapphire.git
synced 2025-05-02 16:57:47 +00:00
fix a compile warning
This commit is contained in:
parent
2f1e351d54
commit
bb42a771eb
1 changed files with 1 additions and 1 deletions
|
@ -685,7 +685,7 @@ void Core::Entity::Actor::handleScriptSkill( uint32_t type, uint32_t actionId, u
|
||||||
|
|
||||||
case ActionEffectType::Damage:
|
case ActionEffectType::Damage:
|
||||||
{
|
{
|
||||||
effectPacket.data().effects[0].value = param1;
|
effectPacket.data().effects[0].value = static_cast< uint16_t >( param1 );
|
||||||
effectPacket.data().effects[0].effectType = ActionEffectType::Damage;
|
effectPacket.data().effects[0].effectType = ActionEffectType::Damage;
|
||||||
effectPacket.data().effects[0].hitSeverity = ActionHitSeverityType::NormalDamage;
|
effectPacket.data().effects[0].hitSeverity = ActionHitSeverityType::NormalDamage;
|
||||||
effectPacket.data().effects[0].unknown_3 = 7;
|
effectPacket.data().effects[0].unknown_3 = 7;
|
||||||
|
|
Loading…
Add table
Reference in a new issue