Handmade Hero»Forums»Code
Matt Campbell
4 posts
Day 066 - bug in MoveEntity
Just a copy/paste error, but Entity is used in place of TestEntity when checking flags:
1
2
if(IsSet(TestEntity, EntityFlag_Collides) &&
!IsSet(Entity, EntityFlag_Nonspatial))
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.
Day 066 - bug in MoveEntity
Ah! Thanks for catching that... I will go write that down so we remember to fix it tomorrow.

- Casey