Hi,

attached is a patch which fixes a bug in droid.h where the number of allowed 
order list entries was checked with an assert but 1 number too less.

BTW: the last commit removed src/winmain.h which seems still to be needed.
*** No rule to make target `winmain.h', needed by `all-am'.  Stop.

-- 
Best regards/Schöne Grüße

Martin    ()  ascii ribbon campaign - against html mail 
          /\                        - against microsoft attachments
Index: droid.h
===================================================================
--- droid.h	(revision 2468)
+++ droid.h	(working copy)
@@ -440,7 +440,7 @@
 \
 	assert(droid->direction <= 360.0f && droid->direction >= 0.0f); \
 	assert(droid->numWeaps <= DROID_MAXWEAPS); \
-	assert(droid->listSize < ORDER_LIST_MAX); \
+	assert(droid->listSize <= ORDER_LIST_MAX); \
 	assert(droid->player < MAX_PLAYERS); \
 \
 	for (i = 0; i < DROID_MAXWEAPS; ++i) \

Attachment: signature.asc
Description: This is a digitally signed message part.

_______________________________________________
Warzone-dev mailing list
Warzone-dev@gna.org
https://mail.gna.org/listinfo/warzone-dev

Reply via email to