fix alpha2 order in set_hudmessage (#982)

This commit is contained in:
Franco Romaniello 2021-08-16 23:23:52 +02:00 committed by GitHub
parent d1fc99fc28
commit 3340884edb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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;