From fdbebbad8957a8af2e5e43e301289fe77b851a13 Mon Sep 17 00:00:00 2001 From: Adam Johnson Date: Wed, 4 Dec 2024 20:13:05 -0500 Subject: [PATCH] Fix max plugin debug build. --- Sources/MaxPlugin/MaxConvert/plBitmapCreator.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Sources/MaxPlugin/MaxConvert/plBitmapCreator.cpp b/Sources/MaxPlugin/MaxConvert/plBitmapCreator.cpp index 93a2d92b85..ebba937603 100644 --- a/Sources/MaxPlugin/MaxConvert/plBitmapCreator.cpp +++ b/Sources/MaxPlugin/MaxConvert/plBitmapCreator.cpp @@ -568,7 +568,7 @@ plBitmap *plBitmapCreator::ICreateTexture( plBitmapData *bd, const plLocation &l else { // Well, this really sucks. We couldn't tell what the modify time is, so just pretend all is well (but assert in Debug mode) - hsAssert(0, ST::format("Couldn't get bitmap '{}' modify time: {}", bd->fileName, hsCOMError(hsLastWin32Error, GetLastError()).c_str())); + hsAssert(0, ST::format("Couldn't get bitmap '{}' modify time: {}", bd->fileName, hsCOMError(hsLastWin32Error, GetLastError())).c_str()); } } @@ -660,7 +660,7 @@ plBitmap *plBitmapCreator::ICreateTexture( plBitmapData *bd, const plLocation &l else { // Well, this really sucks. We couldn't tell what the modify time is, so just pretend all is well (but assert in Debug mode) - hsAssert(0, ST::format("Couldn't set bitmap '{}' modify time: {}", bd->fileName, hsCOMError(hsLastWin32Error, GetLastError()).c_str())); + hsAssert(0, ST::format("Couldn't set bitmap '{}' modify time: {}", bd->fileName, hsCOMError(hsLastWin32Error, GetLastError())).c_str()); } // Add to our list of created textures and ref, since we have a hold of them