mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-11-11 07:11:39 +00:00
Mapster32: fix filling all sectors of a bunch with Ctrl-U. Previously, only
one sector was filled and the 'clear bunch' message was displayed even if the operation was canceled. git-svn-id: https://svn.eduke32.com/eduke32@2153 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
03000a52b9
commit
086dcf383d
1 changed files with 7 additions and 7 deletions
|
@ -7680,7 +7680,7 @@ static void Keys2d(void)
|
|||
if (fb >= 0)
|
||||
{
|
||||
for (SECTORS_OF_BUNCH(fb,YAX_FLOOR, i))
|
||||
fillsector(tcursectornum, editorcolors[11]);
|
||||
fillsector(i, editorcolors[11]);
|
||||
fade_editor_screen(editorcolors[11]);
|
||||
|
||||
if (ask_if_sure("Clear all TROR extensions from marked sectors?", 0))
|
||||
|
@ -7688,13 +7688,13 @@ static void Keys2d(void)
|
|||
for (cf=0; cf<2; cf++)
|
||||
for (SECTORS_OF_BUNCH(fb,cf, i))
|
||||
yax_setbunch(i, cf, -1);
|
||||
|
||||
yax_update(0);
|
||||
yax_updategrays(pos.z);
|
||||
|
||||
message("Cleared TROR bunch %d", fb);
|
||||
asksave = 1;
|
||||
}
|
||||
|
||||
yax_update(0);
|
||||
yax_updategrays(pos.z);
|
||||
|
||||
message("Cleared TROR bunch %d", fb);
|
||||
asksave = 1;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue