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.
|
||||
if (m_count_transforms[i] == m_transform_events[i].size())
|
||||
{
|
||||
char buffer[100];
|
||||
sprintf(buffer, "Can't store more events for kart %s.",
|
||||
kart->getIdent().c_str());
|
||||
Log::warn("ReplayRecorder", buffer);
|
||||
Log::warn("ReplayRecorder", "Can't store more events for kart %s.",
|
||||
kart->getIdent().c_str());
|
||||
m_incorrect_replay = single_player;
|
||||
}
|
||||
continue;
|
||||
|
Loading…
Reference in New Issue
Block a user