Mercurial > mm7
diff SpriteObject.cpp @ 1205:8c02e6f74b29
arrays to std::arrays phase 2 - mm7_data.h converted
author | Grumpy7 |
---|---|
date | Sun, 09 Jun 2013 00:30:48 +0200 |
parents | 0dbf6c4dd029 |
children | 96a81634669e |
line wrap: on
line diff
--- a/SpriteObject.cpp Sat Jun 08 21:47:29 2013 +0200 +++ b/SpriteObject.cpp Sun Jun 09 00:30:48 2013 +0200 @@ -1017,7 +1017,7 @@ int v18; // [sp+14h] [bp-4h]@14 v1 = this; - pMapInfo = &pMapStats->pInfos[pMapStats->GetMapInfo(pCurrentMapName)]; + pMapInfo = &pMapStats->pInfos[pMapStats->GetMapInfo(pCurrentMapName.data())]; v3 = abs(pParty->vPosition.x - v1->vPosition.x); v15 = abs(pParty->vPosition.y - v1->vPosition.y); v16 = abs(pParty->vPosition.z + pParty->sEyelevel - v1->vPosition.z);