Mapster32: display zero-length walls as level-3 corruptions.

git-svn-id: https://svn.eduke32.com/eduke32@2767 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
helixhorned 2012-06-17 19:45:48 +00:00
parent 3975e34625
commit d741df358d

View file

@ -11673,6 +11673,9 @@ int32_t CheckMapCorruption(int32_t printfromlev, uint64_t tryfixing)
if (nw>=w0 && nw<=endwall) if (nw>=w0 && nw<=endwall)
CORRUPTCHK_PRINT(4, CORRUPT_WALL|j, "WALL[%d].NEXTWALL is its own sector's wall", j); CORRUPTCHK_PRINT(4, CORRUPT_WALL|j, "WALL[%d].NEXTWALL is its own sector's wall", j);
if (wall[j].x==POINT2(j).x && wall[j].y==POINT2(j).y)
CORRUPTCHK_PRINT(3, CORRUPT_WALL|j, "WALL[%d] has length 0", j);
#ifdef YAX_ENABLE #ifdef YAX_ENABLE
{ {
int32_t cf, ynw, ynwp2; int32_t cf, ynw, ynwp2;