From 3340884edb7f26ac4913113f3ffe2abfa4ae6c34 Mon Sep 17 00:00:00 2001 From: Franco Romaniello Date: Mon, 16 Aug 2021 23:23:52 +0200 Subject: [PATCH] fix alpha2 order in set_hudmessage (#982) --- amxmodx/amxmodx.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/amxmodx/amxmodx.cpp b/amxmodx/amxmodx.cpp index fb861408..cf7c9e03 100755 --- a/amxmodx/amxmodx.cpp +++ b/amxmodx/amxmodx.cpp @@ -533,10 +533,10 @@ static cell AMX_NATIVE_CALL set_hudmessage(AMX *amx, cell *params) /* 13 param * cell *color2 = get_amxaddr(amx, params[13]); g_hudset.a1 = params[12]; - g_hudset.a2 = color2[0]; - g_hudset.r2 = color2[1]; - g_hudset.g2 = color2[2]; - g_hudset.b2 = color2[3]; + g_hudset.a2 = color2[3]; + g_hudset.r2 = color2[0]; + g_hudset.g2 = color2[1]; + g_hudset.b2 = color2[2]; } else { g_hudset.a1 = 0;