mirror of
https://github.com/ZDoom/Raze.git
synced 2024-11-16 09:21:36 +00:00
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:
parent
d1582b8d0f
commit
dd576b7319
2 changed files with 1 additions and 16 deletions
|
@ -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
|
||||
|
|
|
@ -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(§or[sbp->Sector].floorz, destz, 256);
|
||||
|
||||
|
|
Loading…
Reference in a new issue