I've had Ds in Maths for the last three years in school and still fly, don't worry.
edit: It's not true that you have to be an ace in maths to be a good pilot. There is certain types of maths you need for flying, and I am sure you'll easily get into that, because it connects you to what you like to do. Most of the stuff in school isn't all that important.