diff CastSpellInfo.cpp @ 1975:c22dd8b6c3f4

fixing bug in starburst casting
author Grumpy7
date Sat, 26 Oct 2013 00:54:12 -0700
parents 7840fe323f67
children c1c74df0a33e
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 )