Remove unneeded sprintf
This commit is contained in:
parent
65afb72c98
commit
b411f8c60d
@ -254,10 +254,8 @@ void ReplayRecorder::update(int ticks)
|
|||||||
// Only print this message once.
|
// Only print this message once.
|
||||||
if (m_count_transforms[i] == m_transform_events[i].size())
|
if (m_count_transforms[i] == m_transform_events[i].size())
|
||||||
{
|
{
|
||||||
char buffer[100];
|
Log::warn("ReplayRecorder", "Can't store more events for kart %s.",
|
||||||
sprintf(buffer, "Can't store more events for kart %s.",
|
|
||||||
kart->getIdent().c_str());
|
kart->getIdent().c_str());
|
||||||
Log::warn("ReplayRecorder", buffer);
|
|
||||||
m_incorrect_replay = single_player;
|
m_incorrect_replay = single_player;
|
||||||
}
|
}
|
||||||
continue;
|
continue;
|
||||||
|
Loading…
Reference in New Issue
Block a user