From 8ff81c93e8ecf521e7d7a5be940eb6e4c8c53ab3 Mon Sep 17 00:00:00 2001 From: Marisa Kirisame Date: Sat, 7 Apr 2018 17:43:46 +0200 Subject: [PATCH] Fix building on GCC7. --- src/p_spec.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/p_spec.cpp b/src/p_spec.cpp index 0bd3d9fdb..3185b6c20 100644 --- a/src/p_spec.cpp +++ b/src/p_spec.cpp @@ -244,7 +244,7 @@ bool P_ActivateLine (line_t *line, AActor *mo, int side, int activationType, DVe DEFINE_ACTION_FUNCTION(_Line, Activate) { - PARAM_SELF_PROLOGUE(line_t); + PARAM_SELF_STRUCT_PROLOGUE(line_t); PARAM_POINTER(mo, AActor); PARAM_INT(side); PARAM_INT(activationType); @@ -253,7 +253,7 @@ DEFINE_ACTION_FUNCTION(_Line, Activate) DEFINE_ACTION_FUNCTION(_Line, RemoteActivate) { - PARAM_SELF_PROLOGUE(line_t); + PARAM_SELF_STRUCT_PROLOGUE(line_t); PARAM_POINTER(mo, AActor); PARAM_INT(side); PARAM_INT(activationType);