mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2025-12-31 12:41:46 +00:00
Fixes a runtime on map start due to not having updated all the border definitions all at once - the new defines will now resolve this.
13 lines
464 B
Plaintext
13 lines
464 B
Plaintext
#define Z_LEVEL_NORTH "1"
|
|
#define Z_LEVEL_SOUTH "2"
|
|
#define Z_LEVEL_EAST "4"
|
|
#define Z_LEVEL_WEST "8"
|
|
|
|
#define TRANSITIONEDGE 7 //Distance from edge to move to another z-level
|
|
|
|
// Defining these here so everything is consistent
|
|
#define TRANSITION_BORDER_NORTH (world.maxy - TRANSITIONEDGE - 1)
|
|
#define TRANSITION_BORDER_SOUTH TRANSITIONEDGE
|
|
#define TRANSITION_BORDER_EAST (world.maxx - TRANSITIONEDGE - 1)
|
|
#define TRANSITION_BORDER_WEST TRANSITIONEDGE
|