diff --git a/.gitattributes b/.gitattributes index 87bd5191..dfe07704 100644 --- a/.gitattributes +++ b/.gitattributes @@ -1,5 +1,2 @@ -*.ixx linguist-language=C++ -*.hxx linguist-language=C++ - # Auto detect text files and perform LF normalization * text=auto diff --git a/source/altdialogue.ixx b/source/altdialogue.ixx index f6702cd6..d2ee7276 100644 --- a/source/altdialogue.ixx +++ b/source/altdialogue.ixx @@ -191,14 +191,14 @@ std::vector>> gAltDialogueVar { "bulgarin2", 42939 }, { "bulgarin2", 42940 }, { "bulgarin2", 42927 }, - { "rocco1", 43704 }, - { "rocco1", 43671 }, - { "tony1", 43701 }, - { "tony1", 43708 }, - { "tony1", 43706 }, - { "tony1", 43703 }, - { "tony1", 43707 }, - { "tony1", 43705 }, + //{ "rocco1", 43704 }, // conflicts with drink.sco + //{ "rocco1", 43671 }, + //{ "tony1", 43701 }, + //{ "tony1", 43708 }, + //{ "tony1", 43706 }, + //{ "tony1", 43703 }, + //{ "tony1", 43707 }, + //{ "tony1", 43705 }, { "tony10", 43694 }, { "tony10", 43695 }, { "tony11", 43672 }, @@ -230,7 +230,7 @@ std::vector>> gAltDialogueVar { "tonym8", 43691 }, { "yusuf2", 42910 }, { "yusuf3", 43668 }, - //{ "yusuf4", 42911 }, + { "yusuf4", 42911 }, } }; diff --git a/source/comvars.ixx b/source/comvars.ixx index fb1e20f0..a8a62c69 100644 --- a/source/comvars.ixx +++ b/source/comvars.ixx @@ -102,7 +102,8 @@ public: fTimeStep = *pattern.get_first(4); pattern = hook::pattern("BE ? ? ? ? 8D 44 24 0C 50 8D 46 10 50"); - pCGameConfigReader__ms_imgFiles = *pattern.get_first(1); + if (!pattern.empty()) + pCGameConfigReader__ms_imgFiles = *pattern.get_first(1); pattern = hook::pattern("A1 ? ? ? ? 83 F8 08 74 05"); CCutscenes__m_dwCutsceneState = *pattern.get_first(1);