   Quick question
  I have set the player sprite alpha like this:SDL_SetAlpha(player, SDL_SRCALPHA | SDL_RLEACCEL, rand()%255);and now I want to restore it so the player is 100% visible. I have tried many different values, like 0, 255 and 100 but the player is still transparent when hit by an enemy. Is there any max value for the function that makes the player visible again or is there another way?   
  Just calling SDL_SetAlpha withouth the SDL_SRCALPHA flag should work.   ;  I made a mistake, it worked with the value 255 after all, thanks anyways..   