Sector.SetYScale sets X Scale

Bugs that have been investigated and resolved somehow.

Moderator: GZDoom Developers

Forum rules
Please don't bump threads here if you have a problem - it will often be forgotten about if you do. Instead, make a new thread here.
Post Reply
User avatar
Marisa the Magician
Banned User
Posts: 3886
Joined: Fri Feb 08, 2008 9:15 am
Preferred Pronouns: She/Her
Operating System Version (Optional): (btw I use) Arch
Graphics Processor: nVidia with Vulkan support
Location: Vigo, Galicia
Contact:

Sector.SetYScale sets X Scale

Post by Marisa the Magician »

While screwing around with live map editing, I noticed this. I guess it must have been a typo.

Problematic code in p_sectors.cpp, at line 1657:

Code: Select all

 DEFINE_ACTION_FUNCTION(_Sector, SetYScale)
 {
         PARAM_SELF_STRUCT_PROLOGUE(sector_t);
         PARAM_INT(pos);
         PARAM_FLOAT(o);
         self->SetXScale(pos, o);
         return 0;
 }
_mental_
 
 
Posts: 3820
Joined: Sun Aug 07, 2011 4:32 am

Re: Sector.SetYScale sets X Scale

Post by _mental_ »

Fixed in a77b253.
Post Reply

Return to “Closed Bugs [GZDoom]”