summaryrefslogtreecommitdiffhomepage
path: root/Stars45/NetGameClient.cpp
diff options
context:
space:
mode:
authorAki <please@ignore.pl>2022-01-30 17:41:24 +0100
committerAki <please@ignore.pl>2022-01-30 17:41:24 +0100
commit51657e10769faa2617d546a06c42e4c62a19bb50 (patch)
tree688ad8b61ac02e50974684b9b7d3f886fb469e5f /Stars45/NetGameClient.cpp
parentdb987e23d5dd33a5db8764743facbb906ac22b0f (diff)
downloadstarshatter-51657e10769faa2617d546a06c42e4c62a19bb50.zip
starshatter-51657e10769faa2617d546a06c42e4c62a19bb50.tar.gz
starshatter-51657e10769faa2617d546a06c42e4c62a19bb50.tar.bz2
Removed trailing whitespace all over the place
Diffstat (limited to 'Stars45/NetGameClient.cpp')
-rw-r--r--Stars45/NetGameClient.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/Stars45/NetGameClient.cpp b/Stars45/NetGameClient.cpp
index 3f0a146..fb5a498 100644
--- a/Stars45/NetGameClient.cpp
+++ b/Stars45/NetGameClient.cpp
@@ -377,7 +377,7 @@ NetGameClient::DoQuitAnnounce(NetMsg* msg)
if (player) {
NetPlayer* zombie = players.remove(player);
-
+
// return remote ship to ship pool:
Ship* s = zombie->GetShip();
if (s) {
@@ -532,7 +532,7 @@ NetGameClient::DoObjKill(NetMsg* msg)
if (kstats) {
if (obj_kill.GetKillType() == NetObjKill::KILL_PRIMARY)
kstats->AddEvent(SimEvent::GUNS_KILL, ship->Name());
-
+
else if (obj_kill.GetKillType() == NetObjKill::KILL_SECONDARY)
kstats->AddEvent(SimEvent::MISSILE_KILL, ship->Name());
}
@@ -547,7 +547,7 @@ NetGameClient::DoObjKill(NetMsg* msg)
if (killee) {
if (obj_kill.GetKillType() == NetObjKill::KILL_DOCK)
killee->AddEvent(SimEvent::DOCK, killer_name);
- else
+ else
killee->AddEvent(SimEvent::DESTROYED, killer_name);
}
@@ -566,7 +566,7 @@ NetGameClient::DoObjKill(NetMsg* msg)
}
}
- // this shouldn't happen in practice,
+ // this shouldn't happen in practice,
// but if it does, this is what should be done:
else {
Shot* shot = FindShotByObjID(obj_kill.GetObjID());