--- np2/win9xc/np2.cpp 2003/10/25 16:01:21 1.5 +++ np2/win9xc/np2.cpp 2003/10/26 08:59:53 1.6 @@ -1,8 +1,9 @@ #include "compiler.h" #include #include -#include "resource.h" #include "strres.h" +#include "parts.h" +#include "resource.h" #include "np2.h" #include "np2arg.h" #include "dosio.h" @@ -754,7 +755,7 @@ int WINAPI WinMain(HINSTANCE hInstance, np2arg_analize(lpszCmdLine); // タイミング修正 // ver0.29 initload(); - srand((unsigned)time(NULL)); + rand_setseed((unsigned)time(NULL)); if ((hwndorg = FindWindow(szClassName, NULL)) != NULL) { ShowWindow(hwndorg, SW_RESTORE);