in_slots = 1;
out_slots = 0;
// FIXME hacer INFINITO!
- capacity = 99999;
+ capacity = INFINITO;
actual_flow = 0.0f;
}
#endif
updated = false;
color_updated = false;
- actual_flow = 0;
}
void Drainage::recieve_msg(int msg, IConector *who, void *data)
case MSG_QUERY_MAX_FLOW_OUT:
// FIXME Hacer INFINITO !!!
actual_flow = *((float *)data);
- tmp = 999999;
+ tmp = INFINITO;
who->recieve_msg(MSG_RESPONSE_MAX_FLOW, this, &tmp);
updated = true;
break;