mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-11-28 06:53:58 +00:00
- fixed: A sidedef's sector and linedef references were writable.
This cannot be allowed under any circumstances because this is what links the map geometry together. Yes, it will break any mod that tries to play with these variables, but any such mod has to be considered broken by design and must be stopped.
This commit is contained in:
parent
755cbd341b
commit
98c7118a3a
1 changed files with 2 additions and 2 deletions
|
@ -57,9 +57,9 @@ struct Side native play
|
|||
WALLF_LIGHT_FOG = 128, // This wall's Light is used even in fog.
|
||||
};
|
||||
|
||||
native Sector sector; // Sector the SideDef is facing.
|
||||
native readonly Sector sector; // Sector the SideDef is facing.
|
||||
//DBaseDecal* AttachedDecals; // [RH] Decals bound to the wall
|
||||
native Line linedef;
|
||||
native readonly Line linedef;
|
||||
native int16 Light;
|
||||
native uint8 Flags;
|
||||
|
||||
|
|
Loading…
Reference in a new issue