first thing you should avoid is to use a vector pointre at the beginning of player.c(VECTOR instead of VECTOR*).
I'll try your code later(currently no time sry)
Greets
Rackscha
MY Website with news of my projects:
(for example my current
Muliplayer Bomberman,
GenesisPrecompiler for LiteC
and TileMaster, an easy to use Tile editor)
Sparetime-Development