This commit is contained in:
Oleksandr Hryshchenko 2021-11-25 23:00:32 +00:00
parent 238cc211ea
commit baa6822782

View File

@ -43,7 +43,7 @@ void add_target_capacity(struct station* station,const char* target, int capacit
uniqueCar->next = NULL;
}
uniqueCar->capacity += capacity;
station->tracks[myTrack] = uniqueCar;
station->tracks[myTrack] = uniqueCar;
}
int get_target_capacity(struct station* station,const char* target){