Jump to content

  • Log In with Google      Sign In   
  • Create Account

#Actualslicer4ever

Posted 12 May 2013 - 08:54 AM


    if(x >= new_game->Xpos && x <= new_game->Xpos)
        if(y >= new_game->Ypos/1 && y <= new_game->Ypos/1)


re-read this code very carefully. And think about what it logically means for testing. hell throw in random numbers for the variables, and do the logic yourself. the problem should be very apparent at this point.

#1slicer4ever

Posted 12 May 2013 - 08:53 AM


    if(x >= new_game->Xpos && x <= new_game->Xpos)
        if(y >= new_game->Ypos/1 && y <= new_game->Ypos/1)


re-read this code very carefully.

PARTNERS