X-Git-Url: https://git.llucax.com/z.facultad/75.42/plaqui.git/blobdiff_plain/a4fcf877753b034b1df7fa73d41388849fbc9000..fb8d2fb83534b0ca76f81e6d107e38d002642a46:/Model/src/simulator.cpp?ds=inline diff --git a/Model/src/simulator.cpp b/Model/src/simulator.cpp index f910c85..b6a77d3 100644 --- a/Model/src/simulator.cpp +++ b/Model/src/simulator.cpp @@ -151,6 +151,9 @@ void Simulator::simulate() (*i1)->update(); std::list::iterator i2; + for(i2=items.begin(); i2!=items.end(); i2++) + (*i2)->update(); + for(i2=items.begin(); i2!=items.end(); i2++) (*i2)->simulate();