SW: Remove redefinition of SEARCH_FLOOR and SEARCH_CEILING.

git-svn-id: https://svn.eduke32.com/eduke32@5220 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
hendricks266 2015-05-19 22:08:13 +00:00
parent d1582b8d0f
commit dd576b7319
2 changed files with 1 additions and 16 deletions

View file

@ -691,21 +691,6 @@ int StdRandomRange(int range);
#define DEGREE_45 256
#define DEGREE_90 512
//
// nextsectorneighborz defines - what a god-awful name!
//
#define SEARCH_DOWN 1
#define SEARCH_UP -1
#define SEARCH_FLOOR 1
#define SEARCH_CEILING -1
#define UP_DIR -1
#define DOWN_DIR 1
#define OPEN 0
#define CLOSE 1
////
//
// Directional enumerations

View file

@ -786,7 +786,7 @@ DoSpringBoardDown(void)
{
int destz;
destz = sector[nextsectorneighborz(sbp->Sector, sector[sbp->Sector].floorz, SEARCH_FLOOR, SEARCH_DOWN)].floorz;
destz = sector[nextsectorneighborz(sbp->Sector, sector[sbp->Sector].floorz, 1, 1)].floorz;
AnimSet(&sector[sbp->Sector].floorz, destz, 256);