Remove dummy local var
This commit is contained in:
parent
6b35320c12
commit
7df64728d8
@ -361,10 +361,8 @@ namespace Components
|
|||||||
if (bestCodePos == -1)
|
if (bestCodePos == -1)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
auto onehundred = 100.0f;
|
|
||||||
|
|
||||||
Logger::Print(23, "\n@ %d (%d - %d)\n", scriptPos, bestCodePos, nextCodePos);
|
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()
|
__declspec(naked) void Script::Scr_PrintPrevCodePosStub()
|
||||||
|
Loading…
Reference in New Issue
Block a user