mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2025-02-26 05:31:39 +00:00
Fix opening reallocation not growing big enough for extra clipping
This commit is contained in:
parent
9febd263e9
commit
aaa8a2cb2b
1 changed files with 1 additions and 1 deletions
|
@ -1870,7 +1870,7 @@ void R_StoreWallRange(INT32 start, INT32 stop)
|
|||
//SoM: Code to remove limits on openings.
|
||||
{
|
||||
size_t pos = lastopening - openings;
|
||||
size_t need = (rw_stopx - start)*4 + pos;
|
||||
size_t need = (rw_stopx - start)*6 + pos;
|
||||
if (need > maxopenings)
|
||||
{
|
||||
drawseg_t *ds; //needed for fix from *cough* zdoom *cough*
|
||||
|
|
Loading…
Reference in a new issue