Replace all print calls with vlog calls

This is pretty straight-forward to do.
This commit is contained in:
Misa
2021-02-23 15:21:29 -08:00
committed by Misa Elizabeth Kai
parent d9737589de
commit 96539f891c
16 changed files with 213 additions and 203 deletions

View File

@@ -14,6 +14,7 @@
#include "Map.h"
#include "Music.h"
#include "UtilityClass.h"
#include "Vlogging.h"
#include "Xoshiro.h"
scriptclass::scriptclass(void)
@@ -2323,7 +2324,7 @@ void scriptclass::run(void)
if (execution_counter == SHRT_MAX)
{
// We must be in an infinite loop
printf("Warning: execution counter got to %i, stopping script\n", SHRT_MAX);
vlog_warn("Warning: execution counter got to %i, stopping script", SHRT_MAX);
running = false;
}
else