From 2e9abe740800ef10d7c1f7d67c33f80de948dfda Mon Sep 17 00:00:00 2001 From: Randy Heit Date: Tue, 20 Mar 2012 02:09:48 +0000 Subject: [PATCH] - Fixed: When checking the REJECT contents one byte at a time, P_LoadReject() used rejectsize instead of i as an index into rejectmatrix. SVN r3456 (trunk) --- src/p_setup.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/p_setup.cpp b/src/p_setup.cpp index 292f3aa3a..5e3c4b0ce 100644 --- a/src/p_setup.cpp +++ b/src/p_setup.cpp @@ -3184,7 +3184,7 @@ void P_LoadReject (MapData * map, bool junk) qwords *= 8; for (i = 0; i < rejectsize; ++i) { - if (rejectmatrix[qwords+rejectsize] != 0) + if (rejectmatrix[qwords + i] != 0) return; }