Mercurial > mm7
comparison mm7_6.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 | 2e6d3cd052e0 |
children | b6a7410ff0ef |
comparison
equal
deleted
inserted
replaced
1860:3186f469323a | 1861:a86c60679949 |
---|---|
427 return 0; | 427 return 0; |
428 return 1; | 428 return 1; |
429 } | 429 } |
430 case 80: | 430 case 80: |
431 { | 431 { |
432 v6 = pParty->pPartyBuffs; | 432 v6 = pParty->pPartyBuffs.data(); |
433 while ( (signed __int64)v6->uExpireTime <= 0 ) | 433 while ( (signed __int64)v6->uExpireTime <= 0 ) |
434 { | 434 { |
435 ++v6; | 435 ++v6; |
436 if ( v6 > &pParty->pPartyBuffs[PARTY_BUFF_WIZARD_EYE] ) | 436 if ( v6 > &pParty->pPartyBuffs[PARTY_BUFF_WIZARD_EYE] ) |
437 { | 437 { |
438 v7 = pParty->pPlayers;//[0].pPlayerBuffs; | 438 v7 = pParty->pPlayers.data();//[0].pPlayerBuffs; |
439 v8 = 0; | 439 v8 = 0; |
440 v9 = v7->pPlayerBuffs.data(); | 440 v9 = v7->pPlayerBuffs.data(); |
441 while ( v9->uExpireTime <= 0i64 ) | 441 while ( v9->uExpireTime <= 0i64 ) |
442 { | 442 { |
443 ++v8; | 443 ++v8; |