From 745c9b940e0aa31e880070de241e4ec673e5ee7c Mon Sep 17 00:00:00 2001 From: bones_was_here Date: Fri, 14 Mar 2025 04:33:59 +1000 Subject: [PATCH] Document random() affecting the gameplay hash Closes #2935 --- qcsrc/tools/sv_game-hashtest.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/qcsrc/tools/sv_game-hashtest.sh b/qcsrc/tools/sv_game-hashtest.sh index d687af1dc..5c0d63cc4 100755 --- a/qcsrc/tools/sv_game-hashtest.sh +++ b/qcsrc/tools/sv_game-hashtest.sh @@ -218,5 +218,7 @@ else # red error print printf "\033[31m%s\033[0m\n" "expected: $EXPECT" printf "\033[31m%s\033[0m\n" " actual: $HASH" printf "\033[1;31m%s\033[0m\n" "!!! ERROR: HASHES DO NOT MATCH !!!" + printf "\033[35mThis is expected if the number or execution order of random() calls changed,\n" + printf "otherwise it indicates a more meaningful change in gameplay and match outcomes.\033[0m\n" exit 1 fi -- 2.39.5