...
 
......@@ -293,13 +293,13 @@ void QPulse::AdvanceTime()
try
{
if(actions==nullptr || actions->empty())
m_Controls->Pulse->AdvanceModelTime(MAX(dt.count(), m_Controls->AdvanceStep_s), TimeUnit::s);
m_Controls->Pulse->AdvanceModelTime(dt.count(), TimeUnit::s);
else
{
if (adv != nullptr)
{
count_s += dt.count();
m_Controls->Pulse->AdvanceModelTime(MAX(dt.count(), m_Controls->AdvanceStep_s), TimeUnit::s);
m_Controls->Pulse->AdvanceModelTime(dt.count(), TimeUnit::s);
if (count_s >= adv->GetTime(TimeUnit::s))
{
count_s = 0;
......