From 3dcb05e5d261c8b8a6db5df73c977385ee048f37 Mon Sep 17 00:00:00 2001 From: Christoph Oelckers Date: Wed, 18 May 2016 11:56:39 +0200 Subject: [PATCH] - fixed: Lock #255 was inaccessible for LOCKDEFS. --- src/g_shared/a_keys.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/g_shared/a_keys.cpp b/src/g_shared/a_keys.cpp index 1164135bc8..2d2b5be87f 100644 --- a/src/g_shared/a_keys.cpp +++ b/src/g_shared/a_keys.cpp @@ -223,7 +223,7 @@ static void ParseLock(FScanner &sc) } ignorekey = true; - if (keynum > 0 && keynum < 255) + if (keynum > 0 && keynum <= 255) { lock = new Lock; if (locks[keynum])