X-Git-Url: http://cvs.zerfleddert.de/cgi-bin/gitweb.cgi/micropolis/blobdiff_plain/368d83ae8d59a7368779f94b48b302c03e8cfa01..0a295df9a93949ae9df6a209c1222547eb4fb091:/src/sim/w_sprite.c diff --git a/src/sim/w_sprite.c b/src/sim/w_sprite.c index ff1e679..7ecc045 100644 --- a/src/sim/w_sprite.c +++ b/src/sim/w_sprite.c @@ -849,7 +849,7 @@ DoShipSprite(SimSprite *sprite) if ((Rand16() & 3) == 1) { if ((ScenarioID == 2) && /* San Francisco */ (Rand(10) < 5)) { - MakeSound("city", "HonkHonk-Low -speed 80"); + MakeSound("city", "HonkHonk-Low"); } else { MakeSound("city", "HonkHonk-Low"); } @@ -898,11 +898,13 @@ DoShipSprite(SimSprite *sprite) sprite->frame = 0; return; } - for (z = 0; z < 8; z++) { - if (t == BtClrTab[z]) break; - if (z == 7) { - ExplodeSprite(sprite); - Destroy(sprite->x + 48, sprite->y); + if (!NoDisasters) { + for (z = 0; z < 8; z++) { + if (t == BtClrTab[z]) break; + if (z == 7) { + ExplodeSprite(sprite); + Destroy(sprite->x + 48, sprite->y); + } } } } @@ -983,7 +985,7 @@ DoMonsterSprite(SimSprite *sprite) else z = ND2[d]; d = 4; if (!sprite->sound_count) { - MakeSound("city", "Monster -speed [MonsterSpeed]"); /* monster */ + MakeSound("city", "Monster"); /* monster */ sprite->sound_count = 50 + Rand(100); } }