diff options
Diffstat (limited to 'Stars45/Ship.cpp')
-rw-r--r-- | Stars45/Ship.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Stars45/Ship.cpp b/Stars45/Ship.cpp index f2ded5a..50555d2 100644 --- a/Stars45/Ship.cpp +++ b/Stars45/Ship.cpp @@ -4895,7 +4895,7 @@ Ship::ExecMaintFrame(double seconds) if (pwr != src) {
List<System> xfer;
- for (int j = 0; j < pwr->Clients().size(); i++) {
+ for (int j = 0; j < pwr->Clients().size(); j++) {
System* s = pwr->Clients().at(j);
if (s->GetSourceIndex() == isrc) {
@@ -4903,7 +4903,7 @@ Ship::ExecMaintFrame(double seconds) }
}
- for (int j = 0; j < xfer.size(); i++) {
+ for (int j = 0; j < xfer.size(); j++) {
System* s = xfer.at(j);
pwr->RemoveClient(s);
src->AddClient(s);
|