X-Git-Url: https://git.artsoft.org/?a=blobdiff_plain;f=src%2Fgame_bd%2Fbd_caveengine.c;h=b3723b9b5b12852e867ec59257ce201421c64f13;hb=25eedddf7e2f4d0802a31ffbc43f42a48f0e8b3b;hp=0327fb18e45eca0b17851a333a3b470582a1005b;hpb=d3ee9a75c191a044aa589058f9814a11362aecd8;p=rocksndiamonds.git diff --git a/src/game_bd/bd_caveengine.c b/src/game_bd/bd_caveengine.c index 0327fb18..b3723b9b 100644 --- a/src/game_bd/bd_caveengine.c +++ b/src/game_bd/bd_caveengine.c @@ -673,8 +673,7 @@ static void explode(GdCave *cave, int x, int y) } } -static void inline -explode_dir(GdCave *cave, const int x, const int y, GdDirection dir) +static void inline explode_dir(GdCave *cave, const int x, const int y, GdDirection dir) { explode(cave, x + gd_dx[dir], y + gd_dy[dir]); } @@ -685,7 +684,7 @@ explode_dir(GdCave *cave, const int x, const int y, GdDirection dir) returns other element if something other appears there and he can't move. cave pointer is needed to know the diamond values. */ -static GdElement player_get_element (GdCave* cave, const GdElement object, int x, int y) +static GdElement player_get_element(GdCave* cave, const GdElement object, int x, int y) { int i;