mirror of
https://github.com/ZDoom/Raze.git
synced 2025-03-13 20:42:11 +00:00
- fixed bad sector use in handle_st18
This commit is contained in:
parent
5c9327a788
commit
a0950081ad
1 changed files with 1 additions and 1 deletions
|
@ -653,7 +653,7 @@ static void handle_st18(int sn, DDukeActor* actor)
|
|||
if (i == -1)
|
||||
{
|
||||
auto sectp = nextsectorneighborzptr(sptr, sptr->floorz, 1, -1);
|
||||
if (sectp == nullptr) sectp = nextsectorneighborzptr(sectp, sptr->floorz, 1, 1);
|
||||
if (sectp == nullptr) sectp = nextsectorneighborzptr(sptr, sptr->floorz, 1, 1);
|
||||
if (sectp == nullptr) return;
|
||||
int j = sectp->floorz;
|
||||
int q = sptr->extra;
|
||||
|
|
Loading…
Reference in a new issue