From 679fa751cf64696950128250234aab5cf1b918e1 Mon Sep 17 00:00:00 2001 From: havoc Date: Wed, 11 Mar 2009 00:39:15 +0000 Subject: [PATCH] fix zmodel script to actually work git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@8786 d7cf8633-e32d-0410-b094-e92efae38249 --- model_shared.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/model_shared.c b/model_shared.c index 2f62480c..b5ca9c3b 100644 --- a/model_shared.c +++ b/model_shared.c @@ -2534,7 +2534,7 @@ static void Mod_Decompile_f(void) { dpsnprintf(outname, sizeof(outname), "%s_decompiled/ref1.smd", basename); Mod_Decompile_SMD(mod, outname, 0, 1, true); - l = dpsnprintf(zymtextbuffer + zymtextsize, sizeof(zymtextbuffer) - zymtextsize, "texturedir textures\nscale 1\norigin 0 0 0\nmesh ref1.smd\n"); + l = dpsnprintf(zymtextbuffer + zymtextsize, sizeof(zymtextbuffer) - zymtextsize, "output out.zym\nscale 1\norigin 0 0 0\nmesh ref1.smd\n"); if (l > 0) zymtextsize += l; l = dpsnprintf(dpmtextbuffer + dpmtextsize, sizeof(dpmtextbuffer) - dpmtextsize, "outputdir .\nmodel out\nscale 1\norigin 0 0 0\nscene ref1.smd\n"); if (l > 0) dpmtextsize += l; -- 2.39.2