From 477ada74778f9ed4ddc5438902f84259b10dc4b4 Mon Sep 17 00:00:00 2001 From: toasterbabe Date: Fri, 7 Apr 2017 15:59:25 +0100 Subject: [PATCH] Clarified comments. In case it wasn't clear, P_SKIN now allows field patching (this was unfortunately done in the large merge commit, so easily buried). --- src/r_things.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/r_things.c b/src/r_things.c index 467ccf6b6..9d60ae7de 100644 --- a/src/r_things.c +++ b/src/r_things.c @@ -2849,6 +2849,8 @@ void R_AddSkins(UINT16 wadnum) if (!value) I_Error("R_AddSkins: syntax error in S_SKIN lump# %d(%s) in WAD %s\n", lump, W_CheckNameForNumPwad(wadnum,lump), wadfiles[wadnum]->filename); + // Some of these can't go in R_ProcessPatchableFields because they have side effects for future lines. + // Others can't go in there because we don't want them to be patchable. if (!stricmp(stoken, "name")) { INT32 skinnum = R_SkinAvailable(value); @@ -3039,6 +3041,7 @@ void R_PatchSkins(UINT16 wadnum) } else // Get the properties! { + // Some of these can't go in R_ProcessPatchableFields because they have side effects for future lines. if (!stricmp(stoken, "realname")) { // Display name (eg. "Knuckles") realname = true;