diff UI/UiGame.cpp @ 1826:bdac32c645c5

Changing arrays in class Player to std::array
author Grumpy7
date Wed, 09 Oct 2013 09:08:15 +0200
parents 24b70fa98474
children 0c75c3e7e436
line wrap: on
line diff
--- a/UI/UiGame.cpp	Wed Oct 09 08:39:49 2013 +0200
+++ b/UI/UiGame.cpp	Wed Oct 09 09:08:15 2013 +0200
@@ -819,7 +819,7 @@
   uFramesetIDa = 0;
   for (uint i = 0; i < 24; ++i)
   {
-    auto buff = player->pPlayerBuffs + i;
+    auto buff = player->pPlayerBuffs.data() + i;
     if (buff->uExpireTime > 0)
     {
       v36 = uFramesetIDa++ * pFontComic->uFontHeight + 134;