X-Git-Url: https://git.artsoft.org/?a=blobdiff_plain;f=src%2Fgame_em%2Fconvert.c;h=70ca9f803f4b71614b063e96f717c3dc77c1f651;hb=f56483b6cfc5602fc93b26d92274897552b0741d;hp=d009b7403927b71c14b99724aad89b1e25f8ef45;hpb=98a8e95036df3ed4440cf9742b9aabd7e9e0e7e3;p=rocksndiamonds.git diff --git a/src/game_em/convert.c b/src/game_em/convert.c index d009b740..70ca9f80 100644 --- a/src/game_em/convert.c +++ b/src/game_em/convert.c @@ -940,15 +940,15 @@ void prepare_em_level(void) for (y = 0; y < HEIGHT; y++) for (x = 0; x < WIDTH; x++) - Cave[y][x] = native_em_level.cave[x][y]; + Cave[x][y] = native_em_level.cave[x][y]; for (y = 0; y < HEIGHT; y++) for (x = 0; x < WIDTH; x++) - Next[y][x] = Cave[y][x]; + Next[x][y] = Cave[x][y]; for (y = 0; y < HEIGHT; y++) for (x = 0; x < WIDTH; x++) - Draw[y][x] = Cave[y][x]; + Draw[x][y] = Cave[x][y]; lev.time_initial = lev.time_seconds; lev.time = lev.time_initial; @@ -1021,7 +1021,7 @@ void prepare_em_level(void) native_em_level.cave[x][y] = Xblank; - Cave[y][x] = Next[y][x] = Draw[y][x] = Xblank; + Cave[x][y] = Next[x][y] = Draw[x][y] = Xblank; } } }