mirror of
https://github.com/ZDoom/Raze.git
synced 2025-03-19 15:31:57 +00:00
- fixed return value of updatesector pointer variant.
This commit is contained in:
parent
690994ea1e
commit
00d54fa11a
1 changed files with 1 additions and 1 deletions
|
@ -445,7 +445,7 @@ inline void updatesector(int const x, int const y, sectortype** const sectp)
|
|||
{
|
||||
int sectno = *sectp? (*sectp) - sector : -1;
|
||||
updatesector(x, y, §no);
|
||||
*sectp = §or[sectno];
|
||||
*sectp = sectno == -1? nullptr : §or[sectno];
|
||||
}
|
||||
void updatesectorz(int32_t const x, int32_t const y, int32_t const z, int * const sectnum) ATTRIBUTE((nonnull(4)));
|
||||
|
||||
|
|
Loading…
Reference in a new issue