Mercurial > mm7
diff Engine/Objects/Player.cpp @ 2566:30eb6dcac768
big spell fx overhaul
author | a.parshin |
---|---|
date | Wed, 20 May 2015 21:05:07 +0200 |
parents | 91c75d202d30 |
children | d569340b05ff |
line wrap: on
line diff
--- a/Engine/Objects/Player.cpp Wed May 20 15:12:33 2015 +0200 +++ b/Engine/Objects/Player.cpp Wed May 20 21:05:07 2015 +0200 @@ -4672,7 +4672,7 @@ pIcons_LOD->RemoveTexturesPackFromTextureList(); current_screen_type = SCREEN_GAME; viewparams->bRedrawGameUI = 1; - _42777D_CastSpell_UseWand_ShootArrow(scroll_id, player_num - 1, 0x85u, 1, 0); + _42777D_CastSpell_UseWand_ShootArrow((SPELL_TYPE)scroll_id, player_num - 1, 0x85u, 1, 0); } else { @@ -8149,8 +8149,8 @@ SpriteObject a1a; // [sp+Ch] [bp-74h]@1 //SpriteObject::SpriteObject(&a1a); - a1a.uType = 600; - a1a.stru_24.Reset(); + a1a.uType = SPRITE_600; + a1a.containing_item.Reset(); a1a.spell_id = SPELL_FIRE_FIREBALL; a1a.spell_level = 8;