Mercurial > mm7
diff UIPopup.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 | b237a61e61d3 |
line wrap: on
line diff
--- a/UIPopup.cpp Sun Jun 09 01:10:49 2013 +0200 +++ b/UIPopup.cpp Sun Jun 09 01:30:36 2013 +0200 @@ -1639,7 +1639,7 @@ case 10:// Player Condition strcpy(pTmpBuf2.data(), pPlayerConditionAttributeDescription); strcat(pTmpBuf2.data(), "\n"); - extern unsigned int pConditionImportancyTable[18]; + extern std::array<unsigned int, 18> pConditionImportancyTable; for ( uint i = 0; i < 18; ++i ) { if ( pPlayers[uActiveCharacter]->pConditions[pConditionImportancyTable[i]] )