shithub: qk1

Download patch

ref: efe2b69f5701aa2b742247e444ca13052d71049c
parent: b5983c825fe0bad9618458363e943550b4afb212
author: Sigrid Solveig Haflínudóttir <sigrid@ftrv.se>
date: Fri Dec 15 11:36:27 EST 2023

sv: effects are always one byte

--- a/sv_main.c
+++ b/sv_main.c
@@ -537,7 +537,7 @@
 			bits |= U_SKIN;
 		if (ent->v.frame != ent->baseline.frame)
 			bits |= U_FRAME;
-		if (ent->v.effects != ent->baseline.effects)
+		if (((int)ent->v.effects & 0xff) != (ent->baseline.effects & 0xff))
 			bits |= U_EFFECTS;
 		if (model != ent->baseline.modelindex)
 			bits |= U_MODEL;