- Fixed: Trying to play a 0-length song from a wad inside a zip caused a crash.

SVN r181 (trunk)
This commit is contained in:
Randy Heit 2006-06-09 00:26:07 +00:00
commit c808041337
7 changed files with 19 additions and 8 deletions

View file

@ -102,8 +102,8 @@ void FNodeBuilder::FindUsedVertices (vertex_t *oldverts, int max)
map[v2] = VertexMap->SelectVertexExact (newvert);
}
Level.Lines[i].v1 = (vertex_t *)map[v1];
Level.Lines[i].v2 = (vertex_t *)map[v2];
Level.Lines[i].v1 = (vertex_t *)(size_t)map[v1];
Level.Lines[i].v2 = (vertex_t *)(size_t)map[v2];
}
}