mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-02-19 06:33:49 +00:00
Load new DLL first so old projects don't see odd behavior.
This commit is contained in:
parent
3c1cc9b32c
commit
868b20cfb5
1 changed files with 1 additions and 1 deletions
|
|
@ -55,7 +55,7 @@ int PASCAL WinMain( HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpszCmdL
|
|||
HMODULE hGame = NULL;
|
||||
std::wstring dllName = std::wstring();
|
||||
// The file name is the same as this executable's name, plus a suffix.
|
||||
const std::wstring dllSuffices[] = {L"", L" DLL"};
|
||||
const std::wstring dllSuffices[] = {L" DLL", L""};
|
||||
const unsigned int numSuffices = sizeof(dllSuffices) / sizeof(std::wstring);
|
||||
|
||||
for (unsigned int i = 0; i < numSuffices; i++)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue