Fixing adding problem
This commit is contained in:
parent
1141499914
commit
72da9313a4
@ -35,7 +35,7 @@ void add_target_capacity(struct station* station,const char* target, int capacit
|
|||||||
if(count == res){
|
if(count == res){
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
else if (ptr->value == target){
|
if (ptr->value == target){
|
||||||
ptr->capacity += capacity;
|
ptr->capacity += capacity;
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user