Fixed line ending style.

This commit is contained in:
hiker
2018-02-02 09:16:34 +11:00
parent 6bcee60a1c
commit 59f28d3746

View File

@@ -147,8 +147,8 @@ float History::updateReplayAndGetDT(float world_time, float dt)
{
const InputEvent &ie = m_all_input_events[m_event_index];
AbstractKart *kart = world->getKart(ie.m_kart_index);
Log::verbose("history", "time %f event-time %f action %d %d",
world->getTime(), ie.m_time, ie.m_action, ie.m_value);
Log::verbose("history", "time %f event-time %f action %d %d",
world->getTime(), ie.m_time, ie.m_action, ie.m_value);
kart->getController()->action(ie.m_action, ie.m_value);
m_event_index++;
}
@@ -157,14 +157,14 @@ float History::updateReplayAndGetDT(float world_time, float dt)
// Now handle the non-networking case
// ----------------------------------
Log::verbose("history", "Begin %f %f %f %f current %d event %d",
m_history_time, world_time, dt, world_time + dt,
m_current, m_event_index);
Log::verbose("history", "Begin %f %f %f %f current %d event %d",
m_history_time, world_time, dt, world_time + dt,
m_current, m_event_index);
m_current++;
Log::verbose("history", "Inner %f %f %f %f current %d event %d",
m_history_time, world_time, dt, world_time + dt,
m_current, m_event_index);
Log::verbose("history", "Inner %f %f %f %f current %d event %d",
m_history_time, world_time, dt, world_time + dt,
m_current, m_event_index);
// Check if we have reached the end of the buffer
if (m_current >= (int)m_all_deltas.size())
@@ -202,9 +202,9 @@ float History::updateReplayAndGetDT(float world_time, float dt)
{
const InputEvent &ie = m_all_input_events[m_event_index];
AbstractKart *kart = world->getKart(ie.m_kart_index);
Log::verbose("history", "time %f event-time %f action %d %d",
world->getTime(), ie.m_time, ie.m_action, ie.m_value);
kart->getController()->action(ie.m_action, ie.m_value);
Log::verbose("history", "time %f event-time %f action %d %d",
world->getTime(), ie.m_time, ie.m_action, ie.m_value);
kart->getController()->action(ie.m_action, ie.m_value);
m_event_index++;
}