- added two missing semicolons.

Unbelievable that this was legal C++ and didn't even get a warning!
This commit is contained in:
Christoph Oelckers 2021-12-01 23:30:02 +01:00
parent 57aca0ed07
commit cb099b1b66

View file

@ -536,7 +536,7 @@ void FAFgetzrange(vec3_t pos, int16_t sectnum, int32_t* hiz, Collision* ceilhit,
int uppersect = sectnum;
int newz = *hiz - Z(2);
if (ceilhit->type == kHitSprite) return
if (ceilhit->type == kHitSprite) return;
updatesectorz(pos.x, pos.y, newz, &uppersect);
if (uppersect < 0)
@ -551,7 +551,7 @@ void FAFgetzrange(vec3_t pos, int16_t sectnum, int32_t* hiz, Collision* ceilhit,
int lowersect = sectnum;
int newz = *loz + Z(2);
if (florhit->type == kHitSprite) return
if (florhit->type == kHitSprite) return;
updatesectorz(pos.x, pos.y, newz, &lowersect);
if (lowersect < 0)