mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-11-28 06:53:58 +00:00
Apparently 'name = something' gets parsed as a Type. Fixed CustomSprite actor again.
This commit is contained in:
parent
59472d6f63
commit
df1a90fb1b
1 changed files with 1 additions and 2 deletions
|
@ -156,10 +156,9 @@ class CustomSprite : Actor
|
||||||
|
|
||||||
override void BeginPlay ()
|
override void BeginPlay ()
|
||||||
{
|
{
|
||||||
String name;
|
|
||||||
Super.BeginPlay ();
|
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);
|
picnum = TexMan.CheckForTexture (name, TexMan.TYPE_Build);
|
||||||
if (!picnum.Exists())
|
if (!picnum.Exists())
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue