Skip to content

Commit

Permalink
- SW: bumped two hard limits because there's maps out there that exce…
Browse files Browse the repository at this point in the history
…ed them.
  • Loading branch information
coelckers committed Feb 15, 2022
1 parent 7374364 commit b8ea49e
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions source/core/version.h
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions source/games/sw/src/game.h
Expand Up @@ -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,
};
Expand Down Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion source/games/sw/src/sector.cpp
Expand Up @@ -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++)
{
Expand Down

0 comments on commit b8ea49e

Please sign in to comment.