comparison mm7_2.cpp @ 293:27670273a6ff

little fix npc gen
author Gloval
date Tue, 19 Feb 2013 01:23:04 +0400
parents 0ea5fbd16edb
children af7e848d6def
comparison
equal deleted inserted replaced
292:5586bb4e8395 293:27670273a6ff
12869 { 12869 {
12870 wchar_t pCurrentDir[1024]; 12870 wchar_t pCurrentDir[1024];
12871 _wgetcwd(pCurrentDir, 1024); 12871 _wgetcwd(pCurrentDir, 1024);
12872 12872
12873 wchar_t pMM6IniFile[1024]; 12873 wchar_t pMM6IniFile[1024];
12874 wsprintf(pMM6IniFile, L"%s\\mm6.ini", pCurrentDir); 12874 wsprintfW(pMM6IniFile, L"%s\\mm6.ini", pCurrentDir);
12875 12875
12876 bCanLoadFromCD = GetPrivateProfileIntW(L"settings", L"use_cd", 1, pMM6IniFile); 12876 bCanLoadFromCD = GetPrivateProfileIntW(L"settings", L"use_cd", 1, pMM6IniFile);
12877 if (bNoCD) 12877 if (bNoCD)
12878 bCanLoadFromCD = false; 12878 bCanLoadFromCD = false;
12879 if (bCanLoadFromCD) 12879 if (bCanLoadFromCD)