dokoncenie
This commit is contained in:
parent
5f67c18977
commit
c68892c333
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user