- Fixed: FProcessor::WriteGLVertices() used the normal vertices array instead of the GL one.

SVN r2335 (trunk)
This commit is contained in:
Randy Heit 2010-05-25 02:38:41 +00:00
parent 478ecd5178
commit c9406fbd45

View file

@ -1224,7 +1224,7 @@ void FProcessor::WriteReject (FWadWriter &out)
void FProcessor::WriteGLVertices (FWadWriter &out, bool v5) void FProcessor::WriteGLVertices (FWadWriter &out, bool v5)
{ {
int i, count = (Level.NumGLVertices - Level.NumOrgVerts); int i, count = (Level.NumGLVertices - Level.NumOrgVerts);
WideVertex *vertdata = Level.Vertices + Level.NumOrgVerts; WideVertex *vertdata = Level.GLVertices + Level.NumOrgVerts;
fixed_t *verts = new fixed_t[count*2+1]; fixed_t *verts = new fixed_t[count*2+1];
char *magic = (char *)verts; char *magic = (char *)verts;