changeset 1975:c22dd8b6c3f4

fixing bug in starburst casting
author Grumpy7
date Sat, 26 Oct 2013 00:54:12 -0700
parents 0f62a2b8bd0a
children 998e1babff31
files CastSpellInfo.cpp
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/CastSpellInfo.cpp	Sat Oct 26 00:41:13 2013 -0700
+++ b/CastSpellInfo.cpp	Sat Oct 26 00:54:12 2013 -0700
@@ -1707,7 +1707,7 @@
 				pSpellSprite.spell_caster_pid = PID(OBJECT_Player, pCastSpell->uPlayerID);
 				pSpellSprite.spell_target_pid = v730;
 				//__debugbreak();//звездопад
-				pSpellSprite.field_60_distance_related_prolly_lod = stru_50C198._427546((int)&_this[69].uNumCharges);
+				pSpellSprite.field_60_distance_related_prolly_lod = stru_50C198._427546(((int)_this) + 2500);
 				pSpellSprite.uFacing = v685;
 				pSpellSprite.uSoundID = LOWORD(pCastSpell->sound_id);
 				if ( pParty->bTurnBasedModeOn == 1 )