Index: ctp2_code/gs/database/profileDB.h =================================================================== --- ctp2_code/gs/database/profileDB.h (revisão 1099) +++ ctp2_code/gs/database/profileDB.h (cópia de trabalho) @@ -44,6 +44,8 @@ // - Improved structure + linux branch synchronisation. // - Added world shape handling. // - Made file compiable in Win32 Test configuration +// - Disable CD-check, so the GOG.com version can be used. Adapted from trunk +// revision 1056 (Ago 03rd 2010 Eduardo Morais) // //---------------------------------------------------------------------------- @@ -581,13 +583,13 @@ BOOL IsUseRedbookAudio() const { return m_useRedbookAudio; } #ifdef _BFR_ - BOOL IsRequireCD() const { return TRUE; } + BOOL IsRequireCD() const { return FALSE; } #else BOOL IsRequireCD() const { return m_requireCD; } #endif #ifdef _BFR_ - BOOL IsProtected() const { return TRUE;} + BOOL IsProtected() const { return FALSE;} #else BOOL IsProtected() const { return m_protected;} #endif Index: ctp2_code/gs/database/profileDB.cpp =================================================================== --- ctp2_code/gs/database/profileDB.cpp (revisão 1099) +++ ctp2_code/gs/database/profileDB.cpp (cópia de trabalho) @@ -32,6 +32,8 @@ // - Option added to include multiple data directories. // - Replaced old civilisation database by new one. (Aug 20th 2005 Martin Gühmann) // - Initialized local variables. (Sep 9th 2005 Martin Gühmann) +// - Disable CD-check, so the GOG.com version can be used. Adapted from trunk +// revision 1056 (Ago 03rd 2010 Eduardo Morais) // //---------------------------------------------------------------------------- @@ -160,7 +162,7 @@ m_useFingerprinting = FALSE; m_useRedbookAudio = FALSE; m_requireCD = FALSE; - m_protected = TRUE; + m_protected = FALSE; m_tryWindowsResolution = TRUE; m_useDirectXBlitter = TRUE; m_screenResWidth = 640; Index: ctp2_code/ui/ldl/ldl_file.cpp =================================================================== --- ctp2_code/ui/ldl/ldl_file.cpp (revisão 1099) +++ ctp2_code/ui/ldl/ldl_file.cpp (cópia de trabalho) @@ -38,7 +38,7 @@ BOOL ldl::ReadData( const char *fname ) { - char *name = strrchr(fname, FILE_SEPC); + const char *name = strrchr(fname, FILE_SEPC); if (NULL == name) { name = const_cast(fname); } else {