Skip to content

Commit

Permalink
Increased limit leafs MAX_MAP_LEAFS up to 32767
Browse files Browse the repository at this point in the history
  • Loading branch information
s1lentq committed Dec 7, 2022
1 parent 14b56e0 commit 5e8b0ba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rehlds/public/rehlds/bspfile.h
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
#define HLBSP_VERSION 30 // half-life regular version

#define MAX_MAP_HULLS 4
#define MAX_MAP_LEAFS 8192 // signed short limit
#define MAX_MAP_LEAFS 32767 // signed short limit

#define CONTENTS_ORIGIN -7 // removed at csg time
#define CONTENTS_CLIP -8 // changed to contents_solid
Expand Down

1 comment on commit 5e8b0ba

@jonathan-up
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

dose it fix random change map crashes?

Please sign in to comment.