From 59472d6f632e4ac197b02fe49d1b4ad684f3ed5e Mon Sep 17 00:00:00 2001 From: ZZYZX Date: Sat, 21 Jan 2017 05:19:59 +0200 Subject: [PATCH] Fixed CustomSprite actor --- wadsrc/static/zscript/shared/sharedmisc.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wadsrc/static/zscript/shared/sharedmisc.txt b/wadsrc/static/zscript/shared/sharedmisc.txt index 7403edec30..73f33c060c 100644 --- a/wadsrc/static/zscript/shared/sharedmisc.txt +++ b/wadsrc/static/zscript/shared/sharedmisc.txt @@ -159,7 +159,7 @@ class CustomSprite : Actor String name; Super.BeginPlay (); - //format(name, "BTIL%04d", args[0] & 0xffff); // note: this does NOTHING and did NOTHING. what? + name = String.Format("BTIL%04d", args[0] & 0xffff); picnum = TexMan.CheckForTexture (name, TexMan.TYPE_Build); if (!picnum.Exists()) {