PDA

View Full Version : Fix: AnimatedSprite log warning (server and client)



Higor
08-24-2012, 01:56 AM
Class is AnimatedSprite:

Change the old Timer() with this one:

simulated function timer()
{
if ( ++CurrentFrame >= Frames )
Destroy();
else
Texture = SpriteFrame[CurrentFrame];
}