Mercurial > mm7
comparison 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 |
comparison
equal
deleted
inserted
replaced
1909:18dacb49efe9 | 1910:8d3723ca71e6 |
---|---|
348 pSpellSprite.uType = stru_4E3ACC[pCastSpell->uSpellID].uType; | 348 pSpellSprite.uType = stru_4E3ACC[pCastSpell->uSpellID].uType; |
349 if (pSpellSprite.uType) | 349 if (pSpellSprite.uType) |
350 { | 350 { |
351 if (PID_TYPE(a2) == OBJECT_Actor) | 351 if (PID_TYPE(a2) == OBJECT_Actor) |
352 { | 352 { |
353 memcpy(&v715, Actor::GetDirectionInfo(PID(OBJECT_Player, pCastSpell->uPlayerID + 1), a2, &a3, 0), sizeof(v715)); | 353 Actor::GetDirectionInfo(PID(OBJECT_Player, pCastSpell->uPlayerID + 1), a2, &v715, 0); |
354 v2 = v723; | 354 v2 = v723; |
355 } | 355 } |
356 else | 356 else |
357 { | 357 { |
358 v715.uYawAngle = pParty->sRotationY; | 358 v715.uYawAngle = pParty->sRotationY; |