Magic number changes, get rid of nulplanet structure.
[super-star-trek.git] / moving.c
index 26011bfb0960dfd89d51fd51acc9bab6e5b082fe..0b9ecbed686f32c5b5997607e835ec29fc4fe9dc 100644 (file)
--- a/moving.c
+++ b/moving.c
@@ -764,7 +764,7 @@ void timwrp() {
                /* Make sure Galileo is consistant -- Snapshot may have been taken\r
                   when on planet, which would give us two Galileos! */\r
                gotit = 0;\r
-               for (l = 1; l <= inplan; l++) {\r
+               for (l = 0; l < inplan; l++) {\r
                        if (game.state.plnets[l].known == shuttle_down) {\r
                                gotit = 1;\r
                                if (iscraft==1 && ship==IHE) {\r