ludic.wildlife, ludic.npc (18.3): a crowd walker carries its walker's id (set_crowd(a, id), -1 off)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Orkun ÇAKILKAYA 2026-09-28 00:32:25 +03:00
parent 24c16ebee4
commit 9ec1b3a9bf
6 changed files with 13 additions and 5 deletions

View file

@ -87,7 +87,7 @@ program NpcWayTest {
npc_tests_fake_st.fk_want = 1
let p = npc_spawn(npc_st, NPCK_HIKER)
npc_set_at(p, 0.0, 0.0)
npc_set_crowd(p, true)
npc_set_crowd(p, 0)
npc_go(npc_st, p, 38.0, -25.0, NPCA_SIT, 30.0)
for k in 0 .. 60 { npc_tick(npc_st, 0.05) }
expect_eq(p.x, 0.0)