Fix ancient array shift bug in fuelcen_delete

This commit is contained in:
Kp 2013-11-01 02:48:55 +00:00
parent 547f5e33d2
commit 4693eaecdf

View file

@ -280,8 +280,8 @@ Restart: ;
Num_fuelcenters--;
for (j=i; j<Num_fuelcenters; j++ ) {
Station[i] = Station[i+1];
Segments[Station[i].segnum].value = i;
Station[j] = Station[j+1];
Segments[Station[j].segnum].value = j;
}
segp->special = 0;
goto Restart;