You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Building::cancel_transported_resource(Resource::Type res) {
if (res == Resource::TypeFish ||
res == Resource::TypeMeat ||
res == Resource::TypeBread) {
res = Resource::GroupFood;
}
causes error because this comparsion if (stock[i].type == res) is nonsense and causes in_stock = -1 that throws throw ExceptionFreeserf( .....
The text was updated successfully, but these errors were encountered:
Building::cancel_transported_resource(Resource::Type res) {
if (res == Resource::TypeFish ||
res == Resource::TypeMeat ||
res == Resource::TypeBread) {
res = Resource::GroupFood;
}
causes error because this comparsion if (stock[i].type == res) is nonsense and causes in_stock = -1 that throws throw ExceptionFreeserf( .....
The text was updated successfully, but these errors were encountered: