Commit 3b1678c8 authored by Richard Gobeille's avatar Richard Gobeille
Browse files

Duke3d: fix assertion to check for sectnum -1

parent b9f31def
......@@ -543,7 +543,7 @@ int32_t A_MoveSpriteClipdist(int32_t spriteNum, vec3_t const &change, uint32_t c
vec2_t const oldPos = pSprite->pos.vec2;
// check to make sure the netcode didn't leave a deleted sprite in the sprite lists.
Bassert(pSprite->sectnum < MAXSECTORS);
Bassert((unsigned)pSprite->sectnum < MAXSECTORS);
#ifndef EDUKE32_STANDALONE
if (!FURY && (pSprite->statnum == STAT_MISC || (isEnemy && pSprite->xrepeat < 4)))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment