Изменил(а) на 'cv7/a_station.c'

This commit is contained in:
Oleksandr Hryshchenko 2021-11-25 22:59:49 +00:00
parent 8fc345decc
commit 238cc211ea

View File

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