mirror of
https://github.com/ZDoom/gzdoom.git
synced 2025-03-21 18:31:10 +00:00
Fixed missing translation spots.
- Removed translation parameter from ZSprite's `Spawn` mechanic since it's no longer compatible.
This commit is contained in:
parent
1f847301cb
commit
a6ff63951f
1 changed files with 2 additions and 3 deletions
|
@ -4,7 +4,7 @@ Class ZSprite : Thinker native
|
|||
native Vector2 Scale, Offset;
|
||||
native double Roll, Alpha;
|
||||
native TextureID Texture;
|
||||
native uint Translation;
|
||||
native TranslationID Translation;
|
||||
native uint16 Flags;
|
||||
native int16 LightLevel;
|
||||
native bool bXFlip, bYFlip,
|
||||
|
@ -19,7 +19,7 @@ Class ZSprite : Thinker native
|
|||
native bool IsFrozen();
|
||||
|
||||
static ZSprite Spawn(Class<ZSprite> type, TextureID tex, Vector3 pos, Vector3 vel, double alpha = 1.0, int flags = 0,
|
||||
double roll = 0.0, Vector2 scale = (1,1), Vector2 offset = (0,0), int style = STYLE_Normal, int trans = 0)
|
||||
double roll = 0.0, Vector2 scale = (1,1), Vector2 offset = (0,0), int style = STYLE_Normal)
|
||||
{
|
||||
if (!Level) return null;
|
||||
|
||||
|
@ -34,7 +34,6 @@ Class ZSprite : Thinker native
|
|||
p.Scale = scale;
|
||||
p.Offset = offset;
|
||||
p.SetRenderStyle(style);
|
||||
p.Translation = trans;
|
||||
p.Flags = flags;
|
||||
}
|
||||
return p;
|
||||
|
|
Loading…
Reference in a new issue