Skip to content

Commit

Permalink
Additional model search paths in DEDs were not being added to the cor…
Browse files Browse the repository at this point in the history
…rect resource search path set.
  • Loading branch information
danij-deng committed Nov 26, 2010
1 parent f3b23a8 commit 98b3e43
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion doomsday/engine/portable/src/dd_zip.c
Expand Up @@ -752,7 +752,7 @@ size_t Zip_Read(zipindex_t index, void *buffer)
pack = entry->package;

VERBOSE2(Con_Message
("Zip_Read: %s::%s (%lu bytes%s)\n", M_PrettyPath(pack->name),
("Zip_Read: %s:%s (%lu bytes%s)\n", M_PrettyPath(pack->name),
M_PrettyPath(entry->name), (unsigned long) entry->size,
(entry->deflatedSize? ", deflated" : "")));

Expand Down
2 changes: 1 addition & 1 deletion doomsday/engine/portable/src/def_main.c
Expand Up @@ -1122,7 +1122,7 @@ void Def_Read(void)
Def_CountMsg(defs.count.sectorTypes.num, "sector types");

// Init the base model search path (append).
GameInfo_AddResourceSearchPath(DD_GameInfo(), RT_MODEL, defs.modelPath, true);
GameInfo_AddResourceSearchPath(DD_GameInfo(), F_ResourceNamespaceForName("models:"), defs.modelPath, true);

defsInited = true;
}
Expand Down
2 changes: 1 addition & 1 deletion doomsday/engine/portable/src/def_read.c
Expand Up @@ -784,7 +784,7 @@ static int DED_ReadData(ded_t* ded, const char* buffer, const char* sourceFile)
// A new model path. Prepend to the list.
READSTR(label);
CHECKSC;
GameInfo_AddResourceSearchPath(DD_GameInfo(), RT_MODEL, label, false);
GameInfo_AddResourceSearchPath(DD_GameInfo(), F_ResourceNamespaceForName("models:"), label, false);
}

if(ISTOKEN("Header"))
Expand Down

0 comments on commit 98b3e43

Please sign in to comment.