projects
/
rocksndiamonds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
rnd-20100313-1-src
[rocksndiamonds.git]
/
src
/
game_sp
/
Infotrons.c
diff --git
a/src/game_sp/Infotrons.c
b/src/game_sp/Infotrons.c
index aae2d00e24857695cd757f6ccad18c140d5a1993..49d23c5cd19d1999d2375062e88d40eaa5b8bf44 100644
(file)
--- a/
src/game_sp/Infotrons.c
+++ b/
src/game_sp/Infotrons.c
@@
-173,7
+173,19
@@
loc_g_1242: // infotron comes falling from above
if (ax == fiOrangeDisk) // orange disk hit
goto loc_g_1386;
if (ax == fiOrangeDisk) // orange disk hit
goto loc_g_1386;
+#if 1
+
+#if 1
+ // play the infotron sound, 'cause infotron hits something "hard"
+ subSoundFX(si, fiInfotron, actImpact);
+#else
+ // play the zonk sound, 'cause zonk hits something "hard"
+ subSoundFX(si, fiZonk, actImpact);
+#endif
+
+#else
subSoundFXZonk(); // play the zonk sound,'cause zonk hits something "hard"
subSoundFXZonk(); // play the zonk sound,'cause zonk hits something "hard"
+#endif
if (! (ax == fiZonk || ax == fiInfotron || ax == fiRAM))
return subAnimateInfotrons;
if (! (ax == fiZonk || ax == fiInfotron || ax == fiRAM))
return subAnimateInfotrons;