mirror of
https://github.com/TombEngine/TombEngine.git
synced 2025-05-10 04:26:42 +03:00
Fix assert error message.
This commit is contained in:
parent
0aa262852a
commit
8cba52f026
1 changed files with 1 additions and 1 deletions
|
@ -472,7 +472,7 @@ void GameScriptItemInfo::SetRoom(short room)
|
|||
{
|
||||
if (room < 0 || static_cast<size_t>(room) >= g_Level.Rooms.size())
|
||||
{
|
||||
ScriptAssert(false, "Invalid room number: " + room);
|
||||
ScriptAssert(false, std::string{ "Invalid room number: " } + std::to_string(room));
|
||||
TENLog("Room number will not be set", LogLevel::Warning, LogConfig::All);
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue