From 64476cde7e22a6ed9f66783c70737f9a150dea82 Mon Sep 17 00:00:00 2001 From: Christoph Oelckers Date: Sat, 2 Feb 2019 16:51:54 +0100 Subject: [PATCH] - fixed: Retriving a key's color did not work. --- src/g_inventory/a_keys.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/g_inventory/a_keys.cpp b/src/g_inventory/a_keys.cpp index 817340579..bd44828a5 100644 --- a/src/g_inventory/a_keys.cpp +++ b/src/g_inventory/a_keys.cpp @@ -555,7 +555,7 @@ int P_GetMapColorForKey (AActor * key) foundlock = pair->Key; } } - return 0; + return rgb; }