X-Git-Url: https://git.artsoft.org/?a=blobdiff_plain;f=src%2Fgame_em%2Fsynchro_3.c;h=cdea7a2149d113dde8bc3545a8b573ce4007f0c2;hb=afeec80878187293b10f7dcdd6ff3c094cc97e5d;hp=307d285ebfa6794efa687a1efe477ddd53ca419a;hpb=3ff2e8a0b5c27b99a9920bdf5ed82bc41bf40181;p=rocksndiamonds.git diff --git a/src/game_em/synchro_3.c b/src/game_em/synchro_3.c index 307d285e..cdea7a21 100644 --- a/src/game_em/synchro_3.c +++ b/src/game_em/synchro_3.c @@ -13,7 +13,7 @@ void synchro_3(void) int x; int y; int count; - unsigned long random; + unsigned int random; /* update variables */ @@ -39,7 +39,7 @@ void synchro_3(void) lev.wonderwall_time--; if (lev.wheel_cnt) - play_element_sound(lev.wheel_x, lev.wheel_y, SAMPLE_wheel, Xwheel); + play_element_sound(lev.wheel_x, lev.wheel_y, SOUND_wheel, Xwheel); /* grow amoeba */ @@ -52,8 +52,8 @@ void synchro_3(void) switch (Cave[y][x]) { case Xblank: - case Yacid_splash_eB: - case Yacid_splash_wB: + case Xacid_splash_e: + case Xacid_splash_w: case Xgrass: case Xdirt: case Xsand: @@ -63,7 +63,7 @@ void synchro_3(void) tab_amoeba[Cave[y][x+1]] || tab_amoeba[Cave[y+1][x]] || tab_amoeba[Cave[y][x-1]]) - Cave[y][x] = Xdrip_eat; + Cave[y][x] = Xdrip; } random = random * 129 + 1;