View Single Post
Old 24 August 2012, 01:18   #5
Sparticle
Registered User
 
Join Date: May 2009
Location: Leicester/U.K
Posts: 36
Thanks Dave, I've sorted it mate.
All I needed to was cast the last parameter to an unsigned char*;

from:
ChangeSprite( 0, &my_sprite, ship_data[ frame ] );
to:
ChangeSprite( 0, &my_sprite, (unsigned char*)ship_data[ frame ] );

Strange really as the last parameter is described as an APTR pointer on the net.

Thanks again mate
Sparticle is offline  
 
Page generated in 0.07507 seconds with 11 queries