MSVC doesn't like this. We can only declare variables at the beginning of a block (it's stupid, but they haven't implemented the standard from '99). I'm fixing this up in dev, but keep it in mind for next time.