if (check_area_free(origin.x,origin.y+1) == true)
{
vspeed+=.1;
}
Im not to sure if Im writing this properly or not.
I have a function check_area_free and it returns true or false.
now the code above is supposed to do the code in the brackets, if the function returns true?
is this the correct way of writing it?