More map connection bug fixes

This commit is contained in:
GriffinR
2024-07-18 13:30:56 -04:00
parent 96b5fb1617
commit 9ca5f6bc15
4 changed files with 34 additions and 43 deletions

View File

@@ -12,8 +12,6 @@ MapConnection MapConnection::mirror(const MapConnection &source, const QString &
{"dive", "emerge"}, {"emerge", "dive"}
};
// TODO: Allowing editing unknown directions is a can of worms.
// Specifically a self-connection with an empty direction and an offset of 0 can be identified as its own mirror
MapConnection mirror;
mirror.direction = oppositeDirections.value(source.direction/*, source.direction*/);
mirror.map_name = mapName;