- fixed: Lock #255 was inaccessible for LOCKDEFS.

This commit is contained in:
Christoph Oelckers 2016-05-18 11:56:39 +02:00
parent a7fd04a235
commit 3dcb05e5d2

View file

@ -223,7 +223,7 @@ static void ParseLock(FScanner &sc)
} }
ignorekey = true; ignorekey = true;
if (keynum > 0 && keynum < 255) if (keynum > 0 && keynum <= 255)
{ {
lock = new Lock; lock = new Lock;
if (locks[keynum]) if (locks[keynum])