diff --git a/src/p_spec.cpp b/src/p_spec.cpp index e763719d2..5a863eb6b 100644 --- a/src/p_spec.cpp +++ b/src/p_spec.cpp @@ -236,7 +236,7 @@ bool P_ActivateLine (line_t *line, AActor *mo, int side, int activationType) { return false; } - int remote = (line->special != 7 && line->special != 8 && (line->special < 11 || line->special > 14)); + bool remote = (line->special != 7 && line->special != 8 && (line->special < 11 || line->special > 14)); if (line->locknumber > 0 && !P_CheckKeys (mo, line->locknumber, remote)) return false; lineActivation = line->activation; repeat = line->flags & ML_REPEAT_SPECIAL;