Mercurial > mm7
diff mm7_6.cpp @ 1826:bdac32c645c5
Changing arrays in class Player to std::array
author | Grumpy7 |
---|---|
date | Wed, 09 Oct 2013 09:08:15 +0200 |
parents | 0c4d3c6a9d5a |
children | 35c1e4ff6ba7 |
line wrap: on
line diff
--- a/mm7_6.cpp Wed Oct 09 08:39:49 2013 +0200 +++ b/mm7_6.cpp Wed Oct 09 09:08:15 2013 +0200 @@ -437,7 +437,7 @@ { v7 = pParty->pPlayers;//[0].pPlayerBuffs; v8 = 0; - v9 = v7->pPlayerBuffs; + v9 = v7->pPlayerBuffs.data(); while ( v9->uExpireTime <= 0i64 ) { ++v8; @@ -448,7 +448,7 @@ if ( v7 <= &pParty->pPlayers[3] ) { v8 = 0; - v9 = v7->pPlayerBuffs; + v9 = v7->pPlayerBuffs.data(); } else return 0;