Fix building on GCC7.

This commit is contained in:
Marisa Kirisame 2018-04-07 17:43:46 +02:00 committed by Christoph Oelckers
parent 08f3afab0b
commit 8ff81c93e8

View file

@ -244,7 +244,7 @@ bool P_ActivateLine (line_t *line, AActor *mo, int side, int activationType, DVe
DEFINE_ACTION_FUNCTION(_Line, Activate) DEFINE_ACTION_FUNCTION(_Line, Activate)
{ {
PARAM_SELF_PROLOGUE(line_t); PARAM_SELF_STRUCT_PROLOGUE(line_t);
PARAM_POINTER(mo, AActor); PARAM_POINTER(mo, AActor);
PARAM_INT(side); PARAM_INT(side);
PARAM_INT(activationType); PARAM_INT(activationType);
@ -253,7 +253,7 @@ DEFINE_ACTION_FUNCTION(_Line, Activate)
DEFINE_ACTION_FUNCTION(_Line, RemoteActivate) DEFINE_ACTION_FUNCTION(_Line, RemoteActivate)
{ {
PARAM_SELF_PROLOGUE(line_t); PARAM_SELF_STRUCT_PROLOGUE(line_t);
PARAM_POINTER(mo, AActor); PARAM_POINTER(mo, AActor);
PARAM_INT(side); PARAM_INT(side);
PARAM_INT(activationType); PARAM_INT(activationType);