X-Git-Url: https://git.artsoft.org/?a=blobdiff_plain;f=src%2Fgame_mm%2Fmm_init.c;h=3444db01235c91e8ed0e46b23aef32facc7a123f;hb=e227a361d63ac92e9ed1ceb276f739fa3edc45be;hp=1906c97d3bbb69fb75d58cc868aac7d0bcb91e82;hpb=115ce6f2da1914d68b0fe0e5f9082973190dacdd;p=rocksndiamonds.git diff --git a/src/game_mm/mm_init.c b/src/game_mm/mm_init.c index 1906c97d..3444db01 100644 --- a/src/game_mm/mm_init.c +++ b/src/game_mm/mm_init.c @@ -221,17 +221,17 @@ void InitElementProperties_MM(void) }; static int num_properties = sizeof(ep_num) / sizeof(int *); - for(i = 0; i < MAX_ELEMENTS; i++) + for (i = 0; i < MAX_ELEMENTS; i++) Elementeigenschaften[i] = 0; - for(i = 0; i < num_properties; i++) - for(j = 0; j < *(ep_num[i]); j++) + for (i = 0; i < num_properties; i++) + for (j = 0; j < *(ep_num[i]); j++) Elementeigenschaften[(ep_array[i])[j]] |= ep_bit[i]; - for(i = EL_CHAR_START; i <= EL_CHAR_END; i++) + for (i = EL_CHAR_START; i <= EL_CHAR_END; i++) Elementeigenschaften[i] |= (EP_BIT_CHAR | EP_BIT_INACTIVE); - for(i = EL_WALL_START; i <= EL_WALL_END; i++) + for (i = EL_WALL_START; i <= EL_WALL_END; i++) Elementeigenschaften[i] |= EP_BIT_WALL; }