mirror of
https://github.com/TwilitRealm/dusklight
synced 2026-08-21 05:34:10 -04:00
use new log fmt wrappers
This commit is contained in:
@@ -6,7 +6,6 @@
|
||||
#include "d/d_item.h"
|
||||
#include "d/d_item_data.h"
|
||||
#include "f_op/f_op_actor_mng.h"
|
||||
#include "fmt/format.h"
|
||||
#include "item_ids.h"
|
||||
#include "randomizer_context.hpp"
|
||||
#include "session.hpp"
|
||||
@@ -14,6 +13,8 @@
|
||||
#include "utilities.h"
|
||||
#include "verify_item_functions.h"
|
||||
|
||||
#include <mods/svc/log.hpp>
|
||||
|
||||
bool playerIsInRoomStage(s32 room, const char* stage)
|
||||
{
|
||||
// Only check room if it is valid
|
||||
@@ -713,7 +714,7 @@ int getStageSaveId(int id) {
|
||||
case 42: // F_SP102 (Title Screen / King Bulblin 1)
|
||||
return 0xFF;
|
||||
default:
|
||||
randomizer::session::LogWarn(fmt::format("Failed to find Save Id for ID: {}" , id).c_str());
|
||||
mods::log::warn("Failed to find Save Id for ID: {}" , id);
|
||||
return -1;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user