[crossfire] Re: [Crossfire-cvs] CVS commit: crossfire

2005-10-03 Thread Alex Schultz
[EMAIL PROTECTED] wrote: Module Name:crossfire Committed By: cavesomething Date: Mon Oct 3 03:29:41 UTC 2005 Modified Files: crossfire: ChangeLog crossfire/common: item.c loader.l map.c crossfire/doc/Developers: map-technical crossfire/include:

[crossfire] Re: [Crossfire-cvs] CVS commit: crossfire

2005-10-03 Thread Mark Wedel
*** *** 1190,1199 */ if (m-difficulty) fprintf(fp,difficulty %d\n, m-difficulty); if (m-region) fprintf(fp,region %s\n, m-region-name); ! if (m-shopgreed) { print_shop_string(m, shop); fprintf(fp,shopitems %s\n, shop); } if

Re: [crossfire] Re: [Crossfire-cvs] CVS commit: crossfire

2005-10-03 Thread Brendan Lally
On 10/4/05, Mark Wedel [EMAIL PROTECTED] wrote: if (m-shopmin) fprintf(fp,shopgreed %d\n, m-shopmin); if (m-shopmax) fprintf(fp,shopgreed %d\n, m-shopmax); Is that code there really correct? It seems you are saving shopgreed as the field name when you are actually saving

[crossfire] Re: [Crossfire-cvs] CVS commit: crossfire

2005-08-25 Thread Andreas Kirschbaum
[EMAIL PROTECTED] wrote: Module Name: crossfire Committed By: qal21 Date: Wed Aug 17 18:38:35 UTC 2005 Modified Files: crossfire/include: sproto.h crossfire/server: build_map.c Log Message: Fix bugs, and allow buttons and pedestals to be built underneath gates. [...]

Re: [crossfire] Re: [Crossfire-cvs] CVS commit: crossfire

2005-08-25 Thread alex_sch
Quoting Andreas Kirschbaum [EMAIL PROTECTED]: This patch makes the functions get_connection_rune(), get_msg_book(), and adjust_sign_msg() global by removing the static modifier. What was the reason for this change? (Grepping through the source did show that these functions are both defined

Re: [crossfire] Re: [Crossfire-cvs] CVS commit: crossfire

2005-08-16 Thread Andreas Kirschbaum
Nicolas Weeger wrote: Since Ansi C does allow you to assign any pointer value to and from void * this type cast is not necessary. OTOH such a cast potentially hides future bugs because the compiler cannot anymore generate warnings for mismatched pointer Actually, there is a warning