Skip to content

Commit

Permalink
Why are there two copies of this code?????????
Browse files Browse the repository at this point in the history
  • Loading branch information
MainMemory committed Feb 19, 2015
1 parent 0f0e771 commit 57fc26a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/SADXModLoader/dllmain.cpp
Expand Up @@ -1138,7 +1138,7 @@ static void __cdecl InitMods(void)
ifstream codes_str("mods\\Codes.dat", ifstream::binary);
if (codes_str.is_open())
{
static const char codemagic[6] = {'c', 'o', 'd', 'e', 'v', '3'};
static const char codemagic[6] = {'c', 'o', 'd', 'e', 'v', '4'};
char buf[sizeof(codemagic)];
codes_str.read(buf, sizeof(buf));
if (!memcmp(buf, codemagic, sizeof(codemagic)))
Expand Down

0 comments on commit 57fc26a

Please sign in to comment.