Mercurial > mm7
comparison GUI/UI/UIHouses.cpp @ 2515:b96f6cb1855d
LPWSTR wStr = new WCHAR[255]
author | Ritor1 |
---|---|
date | Thu, 02 Oct 2014 21:16:27 +0600 |
parents | fb1c61a82a55 |
children | 09c3114c6e4e |
comparison
equal
deleted
inserted
replaced
2514:16bae6fd06e1 | 2515:b96f6cb1855d |
---|---|
985 } | 985 } |
986 } | 986 } |
987 //----- (004B1E92) -------------------------------------------------------- | 987 //----- (004B1E92) -------------------------------------------------------- |
988 void PlayHouseSound(unsigned int uHouseID, HouseSoundID sound) | 988 void PlayHouseSound(unsigned int uHouseID, HouseSoundID sound) |
989 { | 989 { |
990 if ( pAnimatedRooms[p2DEvents[uHouseID - 1].uAnimationID].uRoomSoundId ) | 990 if ( pAnimatedRooms[p2DEvents[uHouseID].uAnimationID].uRoomSoundId ) |
991 pAudioPlayer->PlaySound((SoundID)(sound + 100 * (pAnimatedRooms[p2DEvents[uHouseID - 1].uAnimationID].uRoomSoundId + 300)), | 991 pAudioPlayer->PlaySound((SoundID)(sound + 100 * (pAnimatedRooms[p2DEvents[uHouseID].uAnimationID].uRoomSoundId + 300)), |
992 806, 0, -1, 0, 0, 0, 0); | 992 806, 0, -1, 0, 0, 0, 0); |
993 } | 993 } |
994 | 994 |
995 //----- (004BCACC) -------------------------------------------------------- | 995 //----- (004BCACC) -------------------------------------------------------- |
996 void __fastcall OnSelectShopDialogueOption(signed int uMessageParam) | 996 void __fastcall OnSelectShopDialogueOption(signed int uMessageParam) |