Mapster32: when failing to paste selected sectors into loaded map, unhighlight.

DONT_BUILD.

git-svn-id: https://svn.eduke32.com/eduke32@4359 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
helixhorned 2014-03-04 22:20:05 +00:00
parent 4b0fc93155
commit e6d6300ba7

View file

@ -7721,7 +7721,10 @@ CANCEL:
{ {
bakstat = restore_highlighted_map(&bakmap, 1); bakstat = restore_highlighted_map(&bakmap, 1);
if (bakstat == -1) if (bakstat == -1)
{
message("Can't copy highlighted portion of old map: limits exceeded."); message("Can't copy highlighted portion of old map: limits exceeded.");
reset_highlightsector();
}
} }
CheckMapCorruption(4, 0); CheckMapCorruption(4, 0);
@ -7765,7 +7768,10 @@ CANCEL:
{ {
bakstat = restore_highlighted_map(&bakmap, 1); bakstat = restore_highlighted_map(&bakmap, 1);
if (bakstat == -1) if (bakstat == -1)
{
message("Can't copy highlighted portion of old map: limits exceeded."); message("Can't copy highlighted portion of old map: limits exceeded.");
reset_highlightsector();
}
} }
} }
} }