diff mm7_5.cpp @ 735:6daaa2f18d0d

Fixed some house sounds & shop-related stuff
author Nomad
date Fri, 22 Mar 2013 20:01:46 +0200
parents de482c901171
children 9f7db515a8d7
line wrap: on
line diff
--- a/mm7_5.cpp	Fri Mar 22 16:16:40 2013 +0200
+++ b/mm7_5.cpp	Fri Mar 22 20:01:46 2013 +0200
@@ -390,9 +390,11 @@
             }
           }
           continue;
-        case UIMSG_51:
-          sub_4BDB56_buy_skill____();
-          continue;
+
+        case UIMSG_BuyInShop_Identify_Repair:
+          UIShop_Buy_Identify_Repair();
+          continue;
+
         case UIMSG_ClickNPCTopic:
           ClickNPCTopic(uMessageParam);
           continue;
@@ -1361,7 +1363,7 @@
                       continue;
                     case SCREEN_INPUT_BLV:
                       if ( uCurrentHouse_Animation == 153 )
-                        HousePlaySomeSound(0x99u, 3);
+                        PlayHouseSound(0x99u, HouseSound_Greeting_2);
                       pVideoPlayer->Unload();
                       if ( dword_5B65CC )
                       {
@@ -1577,7 +1579,7 @@
             pMessageQueue_50CBD0->uNumMessages = pMessageQueue_50CBD0->pMessages[0].field_8 != 0;
           dword_50CDC8 = v0;
           sub_42FBDD();
-          HousePlaySomeSound(uCurrentHouse_Animation, 2);
+          PlayHouseSound(uCurrentHouse_Animation, HouseSound_NotEnoughMoney);
           pVideoPlayer->Unload();
           sub_44603D();
           viewparams->bRedrawGameUI = v0;