1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-23 14:54:30 +01:00

Integrate path variables used by game

This commit is contained in:
Michał Janiszewski
2016-06-19 23:47:06 +02:00
parent ba7008df18
commit 402e5a32a0
9 changed files with 54 additions and 45 deletions

View File

@@ -893,7 +893,7 @@ static int cc_load_object(const utf8 **argv, int argc) {
if (argc > 0) {
utf8 path[MAX_PATH];
substitute_path(path, RCT2_ADDRESS(RCT2_ADDRESS_OBJECT_DATA_PATH, char), argv[0]);
substitute_path(path, gRCT2AddressObjectDataPath, argv[0]);
strcat(path, ".DAT\0");
rct_object_entry entry;