The International Simutrans Forum

Development => Patches & Projects => Incorporated Patches and Solved Bug Reports => Topic started by: RESTRICTED ACCOUNT on November 24, 2021, 01:25:02 AM

Title: typo
Post by: RESTRICTED ACCOUNT on November 24, 2021, 01:25:02 AM
Patch fixes typo. The function's one has already been fixed by someone in extended, so the purpose is to unify the code.
Title: Re: typo
Post by: RESTRICTED ACCOUNT on November 27, 2021, 01:35:52 AM
https://github.com/aburch/simutrans/blob/aa9ec5861443ce619510be3014ecba7756716b42/display/simgraph16.cc#L255
#define MAX_PLAYER_COUNT (16)
The MAX_PLAYER_COUNT defined in simconst.h is also defined in simgraph16. The latter appears to work even if it is removed, but is it necessary?
Title: Re: typo
Post by: Dwachs on November 27, 2021, 01:48:23 PM
Thank you! in r10248 & r10249