From 868b20cfb53105f3b2417a1f0b8ad9c8dc5c84ac Mon Sep 17 00:00:00 2001 From: Daniel Buckmaster Date: Sat, 16 Aug 2014 11:55:21 +1000 Subject: [PATCH] Load new DLL first so old projects don't see odd behavior. --- Engine/source/main/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Engine/source/main/main.cpp b/Engine/source/main/main.cpp index a1d2bd1f1..1638b5b33 100644 --- a/Engine/source/main/main.cpp +++ b/Engine/source/main/main.cpp @@ -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++)