Warn user if pressing Ctrl+Shift+ENTER (check all wall pointers) in TROR map.

git-svn-id: https://svn.eduke32.com/eduke32@2124 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
helixhorned 2011-11-25 09:51:36 +00:00
parent 2d308625ff
commit 24edef5c63

View file

@ -6319,6 +6319,11 @@ end_space_handling:
keystatus[0x1c] = 0;
if (keystatus[0x2a] && keystatus[0x1d]) // LCtrl+LShift
{
#ifdef YAX_ENABLE
if (numyaxbunches == 0 ||
(fade_editor_screen(-1), ask_if_sure("Really check all wall pointers in TROR map?", 0)))
#endif
{
printmessage16("CHECKING ALL POINTERS!");
for (i=0; i<numsectors; i++)
{
@ -6345,7 +6350,8 @@ end_space_handling:
printmessage16("ALL POINTERS CHECKED!");
asksave = 1;
}
else
}
else // NOT (LCtrl + LShift)
{
if (linehighlight >= 0)
{