mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-12-26 03:30:46 +00:00
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:
parent
4b0fc93155
commit
e6d6300ba7
1 changed files with 6 additions and 0 deletions
|
@ -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();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue