equal
deleted
inserted
replaced
3054 if (!check_length(len, 4 + idcount + cidcount * 3, "FeatureMapSpriteGroup")) return; |
3054 if (!check_length(len, 4 + idcount + cidcount * 3, "FeatureMapSpriteGroup")) return; |
3055 |
3055 |
3056 grfmsg(6, "FeatureMapSpriteGroup: Feature %d, %d ids, %d cids, wagon override %d", |
3056 grfmsg(6, "FeatureMapSpriteGroup: Feature %d, %d ids, %d cids, wagon override %d", |
3057 feature, idcount, cidcount, wagover); |
3057 feature, idcount, cidcount, wagover); |
3058 |
3058 |
3059 if (_cur_grffile->spriteset_start == 0 || _cur_grffile->spritegroups == 0) { |
3059 if (_cur_grffile->spritegroups == 0) { |
3060 grfmsg(1, "FeatureMapSpriteGroup: No sprite set to work on! Skipping"); |
3060 grfmsg(1, "FeatureMapSpriteGroup: No sprite groups to work on! Skipping"); |
3061 return; |
3061 return; |
3062 } |
3062 } |
3063 |
3063 |
3064 switch (feature) { |
3064 switch (feature) { |
3065 case GSF_TRAIN: |
3065 case GSF_TRAIN: |