VECTOR* unit_speed = 2; --> ???
VECTOR* upleft_coords; --> here you define a pointer to a vector and not the vector itself.
VECTOR upleft_coords; --> use this instead.

EDIT: remove all "*" by all VECTOR`s and it no more crashes



Last edited by Widi; 06/27/10 21:05.