summaryrefslogtreecommitdiff
path: root/src/net/tmwa/messageout.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/net/tmwa/messageout.cpp')
-rw-r--r--src/net/tmwa/messageout.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/net/tmwa/messageout.cpp b/src/net/tmwa/messageout.cpp
index 7a96497ee..2ec81f99c 100644
--- a/src/net/tmwa/messageout.cpp
+++ b/src/net/tmwa/messageout.cpp
@@ -139,6 +139,7 @@ void MessageOut::writeCoordinates(const uint16_t x,
default:
// OOPSIE! Impossible or unknown
direction = static_cast<unsigned char>(-1);
+ break;
}
data[2] |= direction;
PacketCounters::incOutBytes(3);