diff --git a/tools/Forge/Bundles/MapEdit/TexturePalette.m b/tools/Forge/Bundles/MapEdit/TexturePalette.m index 0049805c9..1c251f9ed 100644 --- a/tools/Forge/Bundles/MapEdit/TexturePalette.m +++ b/tools/Forge/Bundles/MapEdit/TexturePalette.m @@ -192,7 +192,7 @@ TEX_InitFromWad (const char *path) start = Sys_DoubleTime (); newpath = [[preferences_i getProjectPath] cString]; - newpath = va ("%s%s%s", newpath, newpath[0] ? "/" : "", path); + newpath = va ("%s%s%s", newpath, (newpath[0] ? "/" : ""), path); // free any textures for (i = 0; i < tex_count; i++) @@ -200,9 +200,7 @@ TEX_InitFromWad (const char *path) tex_count = 0; - // try to use the cached wadfile - - Sys_Printf ("TEX_InitFromWad %s\n", newpath); + Sys_Printf ("TEX_InitFromWad: loading %s\n", newpath); wad = wad_open (newpath); if (!wad) { NSRunAlertPanel (@"Wad Error!",