mirror of
https://git.do.srb2.org/KartKrew/Kart-Public.git
synced 2024-11-15 01:01:43 +00:00
Update SOC version, make base SRB2 SOC throw a warning
This commit is contained in:
parent
e52d5fd2fd
commit
2db9fa1b96
2 changed files with 6 additions and 2 deletions
|
@ -3686,13 +3686,17 @@ static void DEH_LoadDehackedFile(MYFILE *f, UINT16 wad)
|
||||||
// no undo support for this insanity yet
|
// no undo support for this insanity yet
|
||||||
//DEH_WriteUndoline(word, word2, UNDO_HEADER);
|
//DEH_WriteUndoline(word, word2, UNDO_HEADER);
|
||||||
}
|
}
|
||||||
else if (fastcmp(word, "SRB2"))
|
else if (fastcmp(word, "SRB2KART"))
|
||||||
{
|
{
|
||||||
INT32 ver = searchvalue(strtok(NULL, "\n"));
|
INT32 ver = searchvalue(strtok(NULL, "\n"));
|
||||||
if (ver != PATCHVERSION)
|
if (ver != PATCHVERSION)
|
||||||
deh_warning("Patch is for SRB2Kart version %d,\nonly version %d is supported", ver, PATCHVERSION);
|
deh_warning("Patch is for SRB2Kart version %d,\nonly version %d is supported", ver, PATCHVERSION);
|
||||||
//DEH_WriteUndoline(word, va("%d", ver), UNDO_NONE);
|
//DEH_WriteUndoline(word, va("%d", ver), UNDO_NONE);
|
||||||
}
|
}
|
||||||
|
else if (fastcmp(word, "SRB2"))
|
||||||
|
{
|
||||||
|
deh_warning("Patch is only compatible with base SRB2.");
|
||||||
|
}
|
||||||
// Clear all data in certain locations (mostly for unlocks)
|
// Clear all data in certain locations (mostly for unlocks)
|
||||||
// Unless you REALLY want to piss people off,
|
// Unless you REALLY want to piss people off,
|
||||||
// define a custom gamedata /before/ doing this!!
|
// define a custom gamedata /before/ doing this!!
|
||||||
|
|
|
@ -54,7 +54,7 @@ extern const char *superactions[MAXRECURSION];
|
||||||
extern UINT8 superstack;
|
extern UINT8 superstack;
|
||||||
|
|
||||||
// If the dehacked patch does not match this version, we throw a warning
|
// If the dehacked patch does not match this version, we throw a warning
|
||||||
#define PATCHVERSION 210
|
#define PATCHVERSION 102
|
||||||
|
|
||||||
#define MAXLINELEN 1024
|
#define MAXLINELEN 1024
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue