summaryrefslogtreecommitdiff
path: root/src/heretic/deh_frame.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/heretic/deh_frame.c')
-rw-r--r--src/heretic/deh_frame.c9
1 files changed, 7 insertions, 2 deletions
diff --git a/src/heretic/deh_frame.c b/src/heretic/deh_frame.c
index 6d7f6c3b..c576d490 100644
--- a/src/heretic/deh_frame.c
+++ b/src/heretic/deh_frame.c
@@ -44,11 +44,16 @@ typedef struct
void (*func)();
} hhe_action_pointer_t;
-// Offsets of action pointers within the Heretic 1.0 executable.
+// Offsets of action pointers within the Heretic executables.
+// Different versions have different offsets.
// (Seriously Greg, was this really necessary? What was wrong with the
// "copying action pointer from another frame" technique used in dehacked?)
-static hhe_action_pointer_t action_pointers[] = {
+// Offset Action function
+// v1.0 v1.2 v1.3
+
+static const hhe_action_pointer_t action_pointers[] =
+{
{ { 77680, 80144, 80208 }, A_AccTeleGlitter },
{ { 78608, 81104, 81168 }, A_AddPlayerCorpse },
{ { 115808, 118000, 118240 }, A_AddPlayerRain },