summaryrefslogtreecommitdiffhomepage
path: root/Stars45/RadioHandler.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Stars45/RadioHandler.cpp')
-rw-r--r--Stars45/RadioHandler.cpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/Stars45/RadioHandler.cpp b/Stars45/RadioHandler.cpp
index e56c850..d6397fc 100644
--- a/Stars45/RadioHandler.cpp
+++ b/Stars45/RadioHandler.cpp
@@ -71,10 +71,7 @@ RadioHandler::ProcessMessage(RadioMessage* msg, Ship* s)
if (msg->Action() == RadioMessage::SKIP_NAVPOINT && !respond)
ProcessMessageAction(msg, s);
- if (ProcessMessageOrders(msg, s))
- respond = respond && true;
-
- else
+ if (!ProcessMessageOrders(msg, s))
respond = respond && ProcessMessageAction(msg, s);
return respond;