Curation round 25 (code only): the ultra horsemen and the Beast's background, the Scourge and Polty, the player's last gaps with the frame gate removed, game core, debug and daily, local co-op and player-controlled enemies, TMTRAINER, local versus, the vanilla Lua API, the special-daily fix, shared constants folded (60 duplicates, 10 offline gaps)

This commit is contained in:
shweet committed 2026-11-23 07:35:21 -05:00
1 parent 534339a496
commit 5c89798773
280 files changed
+14904 -5309

No files matched your search

+1 -1
View File
@@ -227,7 +227,7 @@ static void dip_scoot(Entity_Familiar& dip, float speedScale)
else if (dip.subtype == DIP_SUBTYPE_RED) speedScale = DIP_RED_CHARGE;
Vector heading = vector_is_zero(vector_sub(destination, dip.pos))
? vector_from_angle(random_unit() * RANDOM_HALF_TURN * 2 * RADIANS_TO_DEGREES)
? vector_from_angle(random_unit() * PI_ROUGH * 2 * RADIANS_TO_DEGREES)
: vector_normalized(vector_sub(destination, dip.pos));
float speed = random_unit() * DIP_SCOOT_SPEED + DIP_SCOOT_SPEED;
dip.velocity = vector_add(dip.velocity, vector_scale(heading, speed * speedScale / dip.friction));