dokoncenie

This commit is contained in:
Radovan Kofira 2020-11-11 00:17:01 +01:00
parent 5f67c18977
commit c68892c333

View File

@ -81,7 +81,7 @@ int count_targets(struct station* station){
} }
int count_capacity(struct station* station){ int count_capacity(struct station* station){
int counter=0; int counter=1;
for(int i=0;i<station->track_count;i++){ for(int i=0;i<station->track_count;i++){
struct car* newCar= station->tracks[i]; struct car* newCar= station->tracks[i];
while (newCar->value!=NULL) while (newCar->value!=NULL)