comparison mm7_2.cpp @ 267:ac44e716d051

DrawDialogueUI logic restored
author Nomad
date Mon, 18 Feb 2013 10:55:38 +0200
parents 8cf4fe6b4941
children 1f0af5cac2dd
comparison
equal deleted inserted replaced
266:006188b68143 267:ac44e716d051
3265 { 3265 {
3266 v4->SetVariable(VAR_Award, (unsigned __int8)pParty->field_7B5_in_arena_quest + 3); 3266 v4->SetVariable(VAR_Award, (unsigned __int8)pParty->field_7B5_in_arena_quest + 3);
3267 ++v4; 3267 ++v4;
3268 } 3268 }
3269 while ( (signed int)v4 < (signed int)pParty->pHirelings ); 3269 while ( (signed int)v4 < (signed int)pParty->pHirelings );
3270 party_finds_gold(dword_F8B1B4, 0); 3270 party_finds_gold(gold_transaction_amount, 0);
3271 pAudioPlayer->PlaySound((SoundID)14060, 0, 0, -1, 0, 0, 0, 0); 3271 pAudioPlayer->PlaySound((SoundID)14060, 0, 0, -1, 0, 0, 0, 0);
3272 pParty->field_7B5_in_arena_quest = -1; 3272 pParty->field_7B5_in_arena_quest = -1;
3273 } 3273 }
3274 else 3274 else
3275 { 3275 {
3590 v14 = 20; 3590 v14 = 20;
3591 } 3591 }
3592 else 3592 else
3593 { 3593 {
3594 v14 = v27; 3594 v14 = v27;
3595 v13 = dword_F8B1B4; 3595 v13 = gold_transaction_amount;
3596 } 3596 }
3597 } 3597 }
3598 LABEL_55: 3598 LABEL_55:
3599 i = 0; 3599 i = 0;
3600 for ( dword_F8B1B4 = v26 * v13; i < v14; ++i ) 3600 for ( gold_transaction_amount = v26 * v13; i < v14; ++i )
3601 { 3601 {
3602 monster_y = pMonsterArenaPlacements[i].y; 3602 monster_y = pMonsterArenaPlacements[i].y;
3603 v21 = rand(); 3603 v21 = rand();
3604 _4BBF61_summon_actor((unsigned __int16)monster_ids[v21 % num_monsters], pMonsterArenaPlacements[i].x, monster_y, 1); 3604 _4BBF61_summon_actor((unsigned __int16)monster_ids[v21 % num_monsters], pMonsterArenaPlacements[i].x, monster_y, 1);
3605 } 3605 }