- SW: bumped two hard limits because there's maps out there that exceed them.

This commit is contained in:
Christoph Oelckers 2022-01-29 12:53:30 +01:00
parent 7374364527
commit b8ea49ee0e
3 changed files with 5 additions and 5 deletions

View file

@ -71,12 +71,12 @@ const char *GetVersionString();
#define MINSAVEVER_DN3D 16
#define MINSAVEVER_BLD 16
#define MINSAVEVER_SW 16
#define MINSAVEVER_SW 17
#define MINSAVEVER_PS 16
#define SAVEVER_DN3D 16
#define SAVEVER_BLD 16
#define SAVEVER_SW 16
#define SAVEVER_SW 17
#define SAVEVER_PS 16
#define NETGAMEVERSION 1

View file

@ -1304,7 +1304,7 @@ struct SINE_WAVE_FLOOR
enum
{
MAX_SINE_WAVE = 6,
MAX_SINE_WAVE = 12,
MAX_SINE_WALL = 10,
MAX_SINE_WALL_POINTS = 64,
};
@ -1395,7 +1395,7 @@ enum
{
TF_TRACK_OCCUPIED = BIT(0),
MAX_TRACKS = 100,
MAX_SO_SECTOR = 40,
MAX_SO_SECTOR = 50,
MAX_SO_POINTS = (MAX_SO_SECTOR*15),
MAX_SO_SPRITE = 60,
MAX_CLIPBOX = 32

View file

@ -2395,7 +2395,7 @@ void DoSineWaveWall(void)
int New;
short sw_num;
for (sw_num = 0; sw_num < MAX_SINE_WAVE; sw_num++)
for (sw_num = 0; sw_num < MAX_SINE_WALL; sw_num++)
{
for (sw = &SineWall[sw_num][0]; sw->wallp != nullptr && sw < &SineWall[sw_num][MAX_SINE_WALL_POINTS]; sw++)
{