[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?


-----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?


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

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

fails than.


Gtkradiant mailing list
Gtkradiant at zerowing.idsoftware.com

More information about the Gtkradiant mailing list