Remap screenshot key to F12

This commit is contained in:
nukeykt 2019-11-22 00:50:14 +09:00 committed by Christoph Oelckers
parent cd74f50e8c
commit c1ad44bcc9

View file

@ -3082,10 +3082,10 @@ LOOP3:
CONTROL_BindsEnabled = 1; CONTROL_BindsEnabled = 1;
RefreshStatus(); RefreshStatus();
} }
else if (KB_KeyDown[sc_PrintScreen]) else if (KB_UnBoundKeyPressed(sc_F12))
{ {
KB_ClearKeyDown(sc_F12);
videoCaptureScreen("captxxxx.png", 0); videoCaptureScreen("captxxxx.png", 0);
KB_KeyDown[sc_PrintScreen] = 0;
} }
else if (BUTTON(gamefunc_Map)) // e.g. TAB (to show 2D map) else if (BUTTON(gamefunc_Map)) // e.g. TAB (to show 2D map)
{ {