File tree Expand file tree Collapse file tree 2 files changed +13
-2
lines changed
Expand file tree Collapse file tree 2 files changed +13
-2
lines changed Original file line number Diff line number Diff line change 11grf {
2- grfid: "OGZ\0";
2+ //grfid: "OGZ\0";
3+ grfid: "\FFOT2"; //Adheres to "\FFOT" base set GRF ID range
34 name: string(STR_GRF_NAME);
45 desc: string(STR_GRF_DESCRIPTION);
56 url: string(STR_GRF_URL);
Original file line number Diff line number Diff line change 44 desc: string(STR_GRF_DESCRIPTION);
55 url: string(STR_GRF_URL);
66 version: 1;
7- min_compatible_version: 1 ;
7+ min_compatible_version: version_openttd(1, 3, 0) ;
88 param 1 {
99 param_cursors {
1010 name: string(STR_PARAM_CURSOR_NAME);
4949 }
5050 }
5151}
52+
53+ if (ttd_platform == PLATFORM_OPENTTD) {
54+ if (openttd_version < version_openttd(1, 3, 0)) {
55+ error(FATAL, REQUIRES_OPENTTD, "1.3.0");
56+ }
57+ }
58+
59+ if (ttd_platform != PLATFORM_OPENTTD) {
60+ error(FATAL, REQUIRES_OPENTTD, "1.3.0");
61+ }
You can’t perform that action at this time.
0 commit comments