Remove delayed warp level ID 127 wrap around
This is very much an edge case, but if a delayed warp is initiated to a custom level that has an ID greater than 127 it will just loop back around to 0.
This commit is contained in:
parent
41525c1fc3
commit
9786ba9bc1
|
@ -1078,7 +1078,7 @@ void initiate_delayed_warp(void) {
|
|||
default:
|
||||
warpNode = area_get_warp_node(sSourceWarpNodeId);
|
||||
if (warpNode != NULL) {
|
||||
initiate_warp(warpNode->node.destLevel & 0x7F, warpNode->node.destArea,
|
||||
initiate_warp(warpNode->node.destLevel, warpNode->node.destArea,
|
||||
warpNode->node.destNode, sDelayedWarpArg);
|
||||
|
||||
check_if_should_set_warp_checkpoint(&warpNode->node);
|
||||
|
|
Loading…
Reference in New Issue