Mercurial > mm7
comparison UI/UIHouses.cpp @ 1754:421c29d4ab3e
UITransition.cpp cleaning(continue)
author | Ritor1 |
---|---|
date | Mon, 30 Sep 2013 17:29:27 +0600 |
parents | 19684d4bbe9a |
children | 35c1e4ff6ba7 |
comparison
equal
deleted
inserted
replaced
1753:999bf8c99514 | 1754:421c29d4ab3e |
---|---|
1604 return; | 1604 return; |
1605 } | 1605 } |
1606 else | 1606 else |
1607 { | 1607 { |
1608 dialog_menu_id = HOUSE_DIALOGUE_MAIN; | 1608 dialog_menu_id = HOUSE_DIALOGUE_MAIN; |
1609 pAudioPlayer->PlaySound(SOUND_27, 0, 0, -1, 0, 0, 0, 0); | 1609 pAudioPlayer->PlaySound(SOUND_error, 0, 0, -1, 0, 0, 0, 0); |
1610 } | 1610 } |
1611 } | 1611 } |
1612 } | 1612 } |
1613 } | 1613 } |
1614 //----- (004B68EA) -------------------------------------------------------- | 1614 //----- (004B68EA) -------------------------------------------------------- |
2807 __debugbreak(); // whacky condition - fix | 2807 __debugbreak(); // whacky condition - fix |
2808 if (false | 2808 if (false |
2809 //if ( !*(&byte_4ED94C[37 * v1->uClass / 3] + dword_F8B19C) | 2809 //if ( !*(&byte_4ED94C[37 * v1->uClass / 3] + dword_F8B19C) |
2810 || (v6 = (int)(&pPlayers[uActiveCharacter]->uIntelligence + dialog_menu_id), *(short *)v6) ) | 2810 || (v6 = (int)(&pPlayers[uActiveCharacter]->uIntelligence + dialog_menu_id), *(short *)v6) ) |
2811 { | 2811 { |
2812 pAudioPlayer->PlaySound(SOUND_27, 0, 0, -1, 0, 0, 0, 0); | 2812 pAudioPlayer->PlaySound(SOUND_error, 0, 0, -1, 0, 0, 0, 0); |
2813 } | 2813 } |
2814 else | 2814 else |
2815 { | 2815 { |
2816 if ( pParty->uNumGold < pPrice ) | 2816 if ( pParty->uNumGold < pPrice ) |
2817 { | 2817 { |