diff options
| -rw-r--r-- | src/koopatlas/mapdata.h | 7 | 
1 files changed, 6 insertions, 1 deletions
diff --git a/src/koopatlas/mapdata.h b/src/koopatlas/mapdata.h index 9c1cd50..c501fda 100644 --- a/src/koopatlas/mapdata.h +++ b/src/koopatlas/mapdata.h @@ -68,7 +68,8 @@ struct dKPNode_s {  	};  	dKPLayer_s *tileLayer, *doodadLayer; -	NodeTypes type; +	u8 reserved1, reserved2, reserved3; +	u8 type;  	bool isNew; @@ -125,6 +126,10 @@ struct dKPPath_s {  	dKPNode_s *start, *end;  	dKPLayer_s *tileLayer, *doodadLayer; +	dKPNode_s *getOtherNodeTo(dKPNode_s *n) { +		return (n == start) ? end : start; +	} +  	u8 isAvailable; // computed on-the-fly - default from Koopatlas is NOT or ALWAYS  	u8 isSecret;  	u8 _padding[2];  | 
