diff UiGame.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 8c02e6f74b29
children fac7751b2dc9
line wrap: on
line diff
--- a/UiGame.cpp	Sun Jun 09 01:10:49 2013 +0200
+++ b/UiGame.cpp	Sun Jun 09 01:30:36 2013 +0200
@@ -2638,7 +2638,7 @@
       for (uint i = 0; i < uNumSpriteObjects; ++i)
     //if (uNumSpriteObjects > 0)
       {
-        auto object = pSpriteObjects + i;
+        auto object = &pSpriteObjects[i];
 
       //a2c = (char *)&pSpriteObjects[0].uObjectDescID;
       //while ( 1 )