Mercurial > mm7
diff mm7_5.cpp @ 1207:96a81634669e
arrays to std::arrays phase 3 - finishing global arrays
undone changes in render.h, because framerate dropped by half
author | Grumpy7 |
---|---|
date | Sun, 09 Jun 2013 01:30:36 +0200 |
parents | ab6560001f5b |
children | 0d6c7ff3cddd |
line wrap: on
line diff
--- a/mm7_5.cpp Sun Jun 09 01:10:49 2013 +0200 +++ b/mm7_5.cpp Sun Jun 09 01:30:36 2013 +0200 @@ -8830,7 +8830,7 @@ { for (uint i = 0; i < uNumSpriteObjects; ++i) { - auto item = pSpriteObjects + i; + auto item = &pSpriteObjects[i]; if (item->uType && (item->uSoundID & 8 || pObjectList->pObjects[item->uType].uFlags & 0x10))