This fixes a small problem with the mapster32 polymer selection code.

git-svn-id: https://svn.eduke32.com/eduke32@1575 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
plagman 2009-12-31 10:00:21 +00:00
parent 3cb09fd6ba
commit 5621ad5983

View file

@ -922,14 +922,17 @@ void polymer_editorpick(void)
switch (searchstat) {
case 0: // wall
case 4: // 1-way/masked wall
searchsector = sectorofwall(num);
searchbottomwall = searchwall = num;
break;
case 1: // floor
case 2: // ceiling
searchsector = num;
searchwall = sector[num].wallptr;
break;
case 3:
// sprite
searchsector = sprite[num].sectnum;
searchwall = num;
break;
}