mirror of
https://git.do.srb2.org/STJr/ZoneBuilder.git
synced 2024-11-10 06:41:49 +00:00
Updated, Visual mode: updated FLATSPRITE support to match the current GZDoom implementation.
Fixed, Visual mode: things in sectors affected by line slope effect were not updated when sector height was indirectly changed. Game configurations: added "internalsoundnames" property. Updated documentation ("Game Configuration - Basic Settings" page).
This commit is contained in:
parent
66f4b43184
commit
924c10968b
1 changed files with 14 additions and 0 deletions
|
@ -142,6 +142,20 @@ namespace CodeImp.DoomBuilder.BuilderModes
|
||||||
// Update outer sides...
|
// Update outer sides...
|
||||||
UpdateSectorSides(sd.Sector);
|
UpdateSectorSides(sd.Sector);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Update all things in the sector
|
||||||
|
foreach(Thing t in General.Map.Map.Things)
|
||||||
|
{
|
||||||
|
if(t.Sector == data.Sector)
|
||||||
|
{
|
||||||
|
if(data.Mode.VisualThingExists(t))
|
||||||
|
{
|
||||||
|
// Update thing
|
||||||
|
BaseVisualThing vt = (BaseVisualThing)data.Mode.GetVisualThing(t);
|
||||||
|
vt.Changed = true;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue