Use the PlayerData typedef some more.
Make things more const-y, it still crashes though.