duplicate automap screenshots
#1
At ./d1x-rebirth_v0.58.1-src/main/automap.c, line 572, where PRINTSCREEN causes a screenshot, there needs to be a conditional to prevent duplicate screenshots.
At
  case KEY_PRINT_SCREEN:
add
  if (event->type == EVENT_KEY_COMMAND)
  {

  }
around the body of the code (before "return 1", that is).
A game without an automap function is like a day without sunshine. Big Grin
Reply
#2
Thank you for the report. However, you are a bit late. zico fixed this in December 2013 with commit Rearranged EVENT_KEY_RELEASE for automap_handler so it will not trigger automap_key_command and create a double input following EVEN_KEY_COMMAND. I suggest you use current code, available in the branch master.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)