Remove dummy local var

This commit is contained in:
FutureRave 2022-02-14 16:43:26 +00:00
parent 6b35320c12
commit 7df64728d8
No known key found for this signature in database
GPG Key ID: E883E2BC9657D955

View File

@ -361,10 +361,8 @@ namespace Components
if (bestCodePos == -1)
return;
auto onehundred = 100.0f;
Logger::Print(23, "\n@ %d (%d - %d)\n", scriptPos, bestCodePos, nextCodePos);
Logger::Print(23, "in %s (%.1f%% through the source)\n\n", file.data(), ((offset * onehundred) / (nextCodePos - bestCodePos)));
Logger::Print(23, "in %s (%.1f%% through the source)\n\n", file.data(), ((offset * 100.0f) / (nextCodePos - bestCodePos)));
}
__declspec(naked) void Script::Scr_PrintPrevCodePosStub()