mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-17 20:13:07 +01:00
use Console::WriteLine instead of log_info
This commit is contained in:
committed by
Michał Janiszewski
parent
5bc99d2006
commit
d62c94f14a
@@ -55,9 +55,14 @@ namespace Console
|
||||
puts("");
|
||||
}
|
||||
|
||||
void WriteLine(const utf8 * str)
|
||||
void WriteLine(const utf8 * format, ...)
|
||||
{
|
||||
puts(str);
|
||||
va_list args;
|
||||
|
||||
va_start(args, format);
|
||||
vfprintf(stdout, format, args);
|
||||
puts("");
|
||||
va_end(args);
|
||||
}
|
||||
|
||||
namespace Error
|
||||
|
||||
Reference in New Issue
Block a user