Handmade Hero»Forums»Game
Mox
32 posts
Bug Day 307: cycle test
Hi,

I found a bug in the last minute code for the cycle tag.
Don't know if Casey wants to know it yet, as that may spoil the "fun" of debugging. But wanted to leave it here in case finding it is somehow taking a long time.

Walk->HitCycle = Walk->HitCycle || (At->Flags & Sprite_Cycle);

should be before the if(!(At->Flags & Sprite_Visited)) or it will never be set


Happy programming,
Mox
Casey Muratori
801 posts / 1 project
Casey Muratori is a programmer at Molly Rocket on the game 1935 and is the host of the educational programming series Handmade Hero.
Bug Day 307: cycle test
Thanks for the report! We did indeed find it on 308 :)

- Casey