Fixed CustomSprite actor

This commit is contained in:
ZZYZX 2017-01-21 05:19:59 +02:00 committed by Christoph Oelckers
parent 6f5fff00a0
commit 59472d6f63

View file

@ -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())
{