small bug in collision?

BlitzMax Forums/MiniB3D Module/small bug in collision?

Warner(Posted 2009) [#1]
After trying to reset EntityType back to zero, I think that in this part:
		' remove from collision entity list if new type no=0 and previously added
		If collision_type<>0 And type_no=0
			ListRemove(TCollisionPair.ent_lists[type_no],Self)
		EndIf

It should read:
ListRemove(TCollisionPair.ent_lists[collision_type],Self)



ima747(Posted 2009) [#2]
http://blitzmax.com/Community/posts.php?topic=85904#972603

Same bug I just forgot it would be in minib3d as well as iminib3d :0)


simonh(Posted 2009) [#3]
Thanks guys, will fix.