[Gtkradiant] error in patch.c?

Joseph, William WJoseph at europe.ea.com
Tue Nov 9 07:57:19 CST 2004


In the case that e->patches is NULL, the test in the second part of the
for-loop will cause the loop to exit before executing anything.

for ( ... ; pm /* this evaluates to 0 if pm == NULL */ ; ... )

I assume this is code in q3map2? Is it crashing?

-SPoG


-----Original Message-----
From: gtkradiant-bounces at zerowing.idsoftware.com
[mailto:gtkradiant-bounces at zerowing.idsoftware.com] On Behalf Of
gerhard.maier at schulz-engineering.com
Sent: 09 November 2004 13:50
To: gtkradiant at zerowing.idsoftware.com
Subject: [Gtkradiant] error in patch.c?

hi,

in PatchMapDrawSurfs it seems that e->patches can be null. 

for ( pm = e->patches ; pm ; pm = pm->next  ) {
 
                meshes[patchCount] = pm;
                patchCount++;
 
        }

fails than.

bye


_______________________________________________
Gtkradiant mailing list
Gtkradiant at zerowing.idsoftware.com
http://zerowing.idsoftware.com/cgi-bin/mailman/listinfo/gtkradiant




More information about the Gtkradiant mailing list