Mercurial > mm7
comparison mm7_3.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 | 4cae2d58cfb4 |
children | 3f0b9ffd788c |
comparison
equal
deleted
inserted
replaced
1909:18dacb49efe9 | 1910:8d3723ca71e6 |
---|---|
6861 v10 = pMapStats->GetMapInfo(pCurrentMapName); | 6861 v10 = pMapStats->GetMapInfo(pCurrentMapName); |
6862 if ( v10 ) | 6862 if ( v10 ) |
6863 { | 6863 { |
6864 v11 = uNumActors; | 6864 v11 = uNumActors; |
6865 SpawnEncounter(&pMapStats->pInfos[v10], &v16, 0, count, 0); | 6865 SpawnEncounter(&pMapStats->pInfos[v10], &v16, 0, count, 0); |
6866 memcpy(&v15, Actor::GetDirectionInfo(PID(OBJECT_Actor, v11), 4u, &a3, 1), sizeof(v15)); | 6866 Actor::GetDirectionInfo(PID(OBJECT_Actor, v11), 4u, &v15, 1); |
6867 v12 = v11; | 6867 v12 = v11; |
6868 if ( (signed int)v11 < (signed int)uNumActors ) | 6868 if ( (signed int)v11 < (signed int)uNumActors ) |
6869 { | 6869 { |
6870 for ( pActor = &pActors[v11]; v12 < (signed int)uNumActors; ++pActor ) | 6870 for ( pActor = &pActors[v11]; v12 < (signed int)uNumActors; ++pActor ) |
6871 { | 6871 { |