diff Engine/Objects/SpriteObject.cpp @ 2534:1bcadc6dd203

enum SOUND_
author Ritor1
date Mon, 09 Feb 2015 19:17:12 +0600
parents 9b96a51011fb
children a902abdfc7f2
line wrap: on
line diff
--- a/Engine/Objects/SpriteObject.cpp	Mon Jan 19 23:10:30 2015 +0600
+++ b/Engine/Objects/SpriteObject.cpp	Mon Feb 09 19:17:12 2015 +0600
@@ -1082,7 +1082,7 @@
   {
     v9 = 8 * v8;
     LOBYTE(v9) = v9 | 2;
-    pAudioPlayer->PlaySound((SoundID)(SOUND_GoldReceived|0x14), v9, 0, -1, 0, 0, 0, 0);
+    pAudioPlayer->PlaySound((SoundID)SOUND_splash, v9, 0, -1, 0, 0, 0, 0);
   }
 }
 
@@ -1245,7 +1245,7 @@
 				 pSpriteObjects[uLayingItemID].uSpriteFrameID = 0;
 				 v13 = 8 * uLayingItemID;
 				 LOBYTE(v13) = PID(OBJECT_Item, uLayingItemID);
-				 pAudioPlayer->PlaySound(SOUND_Explosion, v13, 0, -1, 0, 0, 0, 0);
+				 pAudioPlayer->PlaySound(SOUND_fireBall, v13, 0, -1, 0, 0, 0, 0);
 				 return 0;
 	}
 
@@ -1279,7 +1279,7 @@
 				{
 					v13 = 8 * uLayingItemID;
 					LOBYTE(v13) = PID(OBJECT_Item, uLayingItemID);
-					pAudioPlayer->PlaySound(SOUND_Explosion, v13, 0, -1, 0, 0, 0, 0);
+					pAudioPlayer->PlaySound(SOUND_fireBall, v13, 0, -1, 0, 0, 0, 0);
 				}
 				return 0;
 	}
@@ -1339,7 +1339,7 @@
 				{
 					v13 = 8 * uLayingItemID;
 					LOBYTE(v13) = PID(OBJECT_Item, uLayingItemID);
-					pAudioPlayer->PlaySound(SOUND_Explosion, v13, 0, -1, 0, 0, 0, 0);
+					pAudioPlayer->PlaySound(SOUND_fireBall, v13, 0, -1, 0, 0, 0, 0);
 					return 0;
 				}
 				return 0;
@@ -1370,7 +1370,7 @@
 				AttackerInfo.Add(v38, 512, v40, v39, v37, 0, 0);
 				if (object->uFlags & OBJECT_DESC_TRIAL_PARTICLE)
 					trail_particle_generator.GenerateTrailParticles(pSpriteObjects[uLayingItemID].vPosition.x, pSpriteObjects[uLayingItemID].vPosition.y, pSpriteObjects[uLayingItemID].vPosition.z, object->uParticleTrailColor);
-				pAudioPlayer->PlaySound(SOUND_Explosion, v147, 0, -1, 0, 0, 0, 0);
+				pAudioPlayer->PlaySound(SOUND_fireBall, v147, 0, -1, 0, 0, 0, 0);
 				return 0;
 	}