Apparently 'name = something' gets parsed as a Type. Fixed CustomSprite actor again.

This commit is contained in:
ZZYZX 2017-01-21 05:23:00 +02:00 committed by Christoph Oelckers
parent 59472d6f63
commit df1a90fb1b

View file

@ -156,10 +156,9 @@ class CustomSprite : Actor
override void BeginPlay ()
{
String name;
Super.BeginPlay ();
name = String.Format("BTIL%04d", args[0] & 0xffff);
String name = String.Format("BTIL%04d", args[0] & 0xffff);
picnum = TexMan.CheckForTexture (name, TexMan.TYPE_Build);
if (!picnum.Exists())
{