X-Git-Url: https://git.artsoft.org/?a=blobdiff_plain;f=src%2Ffiles.c;h=ea54c227d78e04282cd3e0a0fbf603f5c7b638b8;hb=b06f921c487c5b1e30e44ec00ec2c08f366f83df;hp=a0b0aff35554a0bfcf5b1ebb794523fd0c663f74;hpb=479bba3c31872d0bf11756a6380988bf787ce5ef;p=rocksndiamonds.git diff --git a/src/files.c b/src/files.c index a0b0aff3..ea54c227 100644 --- a/src/files.c +++ b/src/files.c @@ -3378,6 +3378,7 @@ static void LoadLevel_InitElements(struct LevelInfo *level, char *filename) int element = EL_CUSTOM_START + i; /* order of checking and copying events to be mapped is important */ + /* (do not change the start and end value -- they are constant) */ for (j = CE_BY_OTHER_ACTION; j >= CE_VALUE_GETS_ZERO; j--) { if (HAS_CHANGE_EVENT(element, j - 2)) @@ -3388,6 +3389,7 @@ static void LoadLevel_InitElements(struct LevelInfo *level, char *filename) } /* order of checking and copying events to be mapped is important */ + /* (do not change the start and end value -- they are constant) */ for (j = CE_PLAYER_COLLECTS_X; j >= CE_HITTING_SOMETHING; j--) { if (HAS_CHANGE_EVENT(element, j - 1))