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:
1 parent
534339a496
commit
5c89798773
280 files changed
+14904
-5309
No files matched your search
@@ -188,7 +188,7 @@ static void sisters_init(Entity_NPC& npc)
|
||||
if (npc.spawnerType == npc.type) return;
|
||||
|
||||
uint32_t seed = Random();
|
||||
float angle = random_unit() * RANDOM_HALF_TURN;
|
||||
float angle = random_unit() * PI_ROUGH;
|
||||
angle += angle;
|
||||
Entity* sister = g_game->Spawn({.position = vector_make(std::cos(angle) * SISTERS_SPAWN_REACH + npc.pos.x,
|
||||
std::sin(angle) * SISTERS_SPAWN_REACH + npc.pos.y),
|
||||
|
||||
Reference in new issue
Block a user