Curation round 28 (code only): float pow, log and exp widened to double like the game, inlined HasTrinket preview handling, explicit RNG argument order, update_effects rebuilt in the original's order, weapon vtable slots, null-frame reads, and a parity audit finishing every boss, every enemy, the level and most rooms, grid entities and weapons; misnamed pill and null-item ids corrected (55 duplicates)

This commit is contained in:
shweet committed 2026-11-23 14:40:39 -05:00
1 parent e66baf4063
commit 719e5ef04d
157 files changed
+1399 -717

No files matched your search

+4 -1
View File
@@ -223,7 +223,10 @@ static void dip_scoot(Entity_Familiar& dip, float speedScale)
dip.friction = savedFriction;
}
else if (goal == dip.player)
destination = vector_add(destination, vector_scale(random_direction(), random_unit() * DIP_WANDER));
{
Vector direction = random_direction();
destination = vector_add(destination, vector_scale(direction, random_unit() * DIP_WANDER));
}
else if (dip.subtype == DIP_SUBTYPE_RED) speedScale = DIP_RED_CHARGE;
Vector heading = vector_is_zero(vector_sub(destination, dip.pos))