Commit 24e5d5fc authored by Richard Gobeille's avatar Richard Gobeille

engine: add an extra clipupdatesector() call before returning from clipmove()...

engine: add an extra clipupdatesector() call before returning from clipmove() in ENGINE_EDUKE32 mode
parent da1ee581
......@@ -1590,8 +1590,11 @@ int32_t clipmove(vec3_t * const pos, int16_t * const sectnum, int32_t xvect, int
if ((tempint ^ tempint2) < 0)
{
if (enginecompatibilitymode == ENGINE_19961112)
if (enginecompatibilitymode == ENGINE_EDUKE32)
clipupdatesector(vec, sectnum, rad);
else if (enginecompatibilitymode == ENGINE_19961112)
updatesector(pos->x, pos->y, sectnum);
return clipReturn;
}
}
......
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