Fixed player struct declarations in main(they pointed to nothing and overwrote memory).