Are you sure the csdl_setup is a valid pointer? Where is it constructed?
private:
bool quit;
CSprite *player;
CSDL_Setup *csdl_setup;
};
game_loop.h
Are you sure the csdl_setup is a valid pointer? Where is it constructed?
private:
bool quit;
CSprite *player;
CSDL_Setup *csdl_setup;
};
game_loop.h