diff CastSpellInfo.cpp @ 1910:8d3723ca71e6

Actor::GetDirectionInfo changed the signature to a less confusing one
author Grumpy7
date Tue, 22 Oct 2013 00:39:04 -0700
parents 768590235c2c
children aa3ca49a10f5
line wrap: on
line diff
--- a/CastSpellInfo.cpp	Tue Oct 22 00:04:14 2013 -0700
+++ b/CastSpellInfo.cpp	Tue Oct 22 00:39:04 2013 -0700
@@ -350,7 +350,7 @@
     {
       if (PID_TYPE(a2) == OBJECT_Actor)
       {
-        memcpy(&v715, Actor::GetDirectionInfo(PID(OBJECT_Player, pCastSpell->uPlayerID + 1), a2, &a3, 0), sizeof(v715));
+        Actor::GetDirectionInfo(PID(OBJECT_Player, pCastSpell->uPlayerID + 1), a2, &v715, 0);
         v2 = v723;
       }
       else