renamed variable named PI; conflict with BeOS define
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@200 8092fc87-c524-0410-9efc-e669fe64eaf9
This commit is contained in:
@@ -302,15 +302,15 @@ fighter_collision (PELEMENT ElementPtr0, PPOINT pPt0, PELEMENT ElementPtr1, PPOI
|
||||
hFighterElement = AllocElement ();
|
||||
if (hFighterElement)
|
||||
{
|
||||
COUNT PI, travel_facing;
|
||||
COUNT primIndex, travel_facing;
|
||||
SIZE delta_facing;
|
||||
ELEMENTPTR FighterElementPtr;
|
||||
|
||||
LockElement (hFighterElement, &FighterElementPtr);
|
||||
PI = FighterElementPtr->PrimIndex;
|
||||
primIndex = FighterElementPtr->PrimIndex;
|
||||
*FighterElementPtr = *ElementPtr0;
|
||||
FighterElementPtr->PrimIndex = PI;
|
||||
(GLOBAL (DisplayArray))[PI] =
|
||||
FighterElementPtr->PrimIndex = primIndex;
|
||||
(GLOBAL (DisplayArray))[primIndex] =
|
||||
(GLOBAL (DisplayArray))[ElementPtr0->PrimIndex];
|
||||
FighterElementPtr->state_flags &= ~PRE_PROCESS;
|
||||
FighterElementPtr->state_flags |= CHANGING;
|
||||
|
||||
Reference in New Issue
Block a user