X-Git-Url: https://git.llucax.com/z.facultad/75.42/plaqui.git/blobdiff_plain/0aacdcf95cf6d4f33a2201160d472ab84148d52b..dfabbe2822ffdfb241105cff491b4331096e4af3:/Model/src/drainage.cpp diff --git a/Model/src/drainage.cpp b/Model/src/drainage.cpp index 80dc010..85fec86 100644 --- a/Model/src/drainage.cpp +++ b/Model/src/drainage.cpp @@ -27,9 +27,11 @@ void Drainage::update(int dir) void Drainage::simulate() { +#ifdef DEBUG std::cout << name << "::Flujo recibido = " << actual_flow << std::endl; +#endif updated = false; - actual_flow = 0; + color_updated = false; } void Drainage::recieve_msg(int msg, IConector *who, void *data)