Mercurial > mm7
diff UI/UICharacter.cpp @ 1861:a86c60679949
changing most of party arrays to std::arrays, some minor cleanups in actor.cpp
author | Grumpy7 |
---|---|
date | Mon, 14 Oct 2013 06:32:30 +0200 |
parents | 211dfe2d8db1 |
children | 2233efdc8d00 |
line wrap: on
line diff
--- a/UI/UICharacter.cpp Mon Oct 14 03:22:34 2013 +0200 +++ b/UI/UICharacter.cpp Mon Oct 14 06:32:30 2013 +0200 @@ -1767,7 +1767,7 @@ memset(byte_5111F6.data(), 0, sizeof(byte_5111F6)); for (uint i = 0; i < 4; ++i) { - auto player = pParty->pPlayers + i; + auto player = &pParty->pPlayers[i]; if (player->HasItem(ITEM_ARTIFACT_GOVERNORS_ARMOR, 1)) byte_5111F6[0] = 1; if (player->HasItem(ITEM_ARTIFACT_YORUBA, 1)) byte_5111F6[1] = 1;