diff --git a/VCS PC/Frontend.cpp b/VCS PC/Frontend.cpp
index 4494543..55c7847 100644
--- a/VCS PC/Frontend.cpp
+++ b/VCS PC/Frontend.cpp
@@ -977,9 +977,18 @@ void CMenuManager::DrawStandardMenus(bool bDrawMenu)
pTextToShow_RightColumn = TheText.Get(CVehicle::m_bEnableMouseFlying ? "FEM_ON" : "FEM_OFF");
break;
case 56:
- strncpy(cReservedSpace, ((const char**(*)())0x745AF0)()[m_dwResolution], sizeof(cReservedSpace));
+ {
+ const char* pszResolution = ((const char**(*)())0x745AF0)()[m_dwResolution];
+
+ if (!pszResolution)
+ {
+ pszResolution = "";
+ }
+
+ strncpy(cReservedSpace, pszResolution, sizeof(cReservedSpace));
pTextToShow_RightColumn = cReservedSpace;
break;
+ }
case 44:
if ( m_dwAntiAliasingLevel <= 1 )
pTextToShow_RightColumn = TheText.Get("FEM_OFF");
diff --git a/VCS PC/VCS PC.vcxproj b/VCS PC/VCS PC.vcxproj
index fcab020..a2c2a20 100644
--- a/VCS PC/VCS PC.vcxproj
+++ b/VCS PC/VCS PC.vcxproj
@@ -106,7 +106,7 @@
EditAndContinue
true
NotSet
- $(SolutionDir)dependencies\include;$(SolutionDir)dependencies\include\rwsdk;%(AdditionalIncludeDirectories)
+ $(BOOST_ROOT);$(SolutionDir)dependencies\include;$(SolutionDir)dependencies\include\rwsdk;%(AdditionalIncludeDirectories)
Sync
@@ -160,7 +160,7 @@ popd
EditAndContinue
true
NotSet
- $(SolutionDir)dependencies\include;$(SolutionDir)dependencies\include\rwsdk;%(AdditionalIncludeDirectories)
+ $(BOOST_ROOT);$(SolutionDir)dependencies\include;$(SolutionDir)dependencies\include\rwsdk;%(AdditionalIncludeDirectories)
Sync
Disabled
@@ -216,7 +216,7 @@ popd
ProgramDatabase
true
NotSet
- $(SolutionDir)dependencies\include;$(SolutionDir)dependencies\include\rwsdk;%(AdditionalIncludeDirectories)
+ $(BOOST_ROOT);$(SolutionDir)dependencies\include;$(SolutionDir)dependencies\include\rwsdk;%(AdditionalIncludeDirectories)
_NDEBUG;NDEBUG;%(PreprocessorDefinitions)
Sync
@@ -271,7 +271,7 @@ popd
true
NotSet
NDEBUG;COMPILE_RC;_INCLUDE_BETA_CODE;%(PreprocessorDefinitions)
- $(SolutionDir)dependencies\include;$(SolutionDir)dependencies\include\rwsdk;%(AdditionalIncludeDirectories)
+ $(BOOST_ROOT);$(SolutionDir)dependencies\include;$(SolutionDir)dependencies\include\rwsdk;%(AdditionalIncludeDirectories)
Sync
diff --git a/VCS PC/VCSPC.cpp b/VCS PC/VCSPC.cpp
index 7092bed..fae068f 100644
--- a/VCS PC/VCSPC.cpp
+++ b/VCS PC/VCSPC.cpp
@@ -7209,5 +7209,8 @@ void LogToFile(const char* str, ...)
fputc('\n', LogFile);
fclose(LogFile);
va_end(arguments);
+
+ OutputDebugString(TempString);
+ OutputDebugString("\n");
}
}
\ No newline at end of file