Is he?
Let's repeat code part, shall we?
Yup, just as I thought. I'm not creating TAnimatedSprite, but TAnimatedSpriteList. Slight difference, you know? And guess what, it does have parameter-less constructor.Code:constructor TGameObject.Create(mode: TObjectMode); begin if mode=omAnim then Animations:=TAnimatedSpriteList.create;
Also where did you get that BAADF00D from? It doesn't appear anywhere during compilation, debugging or in my posts...
And thanks for optimization tip, I've just turned it off.
//edit: Sorry that I might sound a bit rude, but I have today my birthday. No one gave me wishes except some automatic from websites and I didn't even get a cake. And yes, I can also exclude "surprise birthday party" as day is almost ending (23:22 or 11:22PM).
Bookmarks