Mercurial > mm7
comparison GUI/UI/UIHouses.cpp @ 2511:fb1c61a82a55
uHouseID - 1
author | Ritor1 |
---|---|
date | Thu, 02 Oct 2014 17:35:50 +0600 |
parents | a77c34acdbc9 |
children | b96f6cb1855d |
comparison
equal
deleted
inserted
replaced
2510:ae2b7048b3eb | 2511:fb1c61a82a55 |
---|---|
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].uAnimationID].uRoomSoundId ) | 990 if ( pAnimatedRooms[p2DEvents[uHouseID - 1].uAnimationID].uRoomSoundId ) |
991 pAudioPlayer->PlaySound((SoundID)(sound + 100 * (pAnimatedRooms[p2DEvents[uHouseID].uAnimationID].uRoomSoundId + 300)), | 991 pAudioPlayer->PlaySound((SoundID)(sound + 100 * (pAnimatedRooms[p2DEvents[uHouseID - 1].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) |