The International Simutrans Forum

 

Author Topic: typo  (Read 217 times)

0 Members and 1 Guest are viewing this topic.

Offline Ranran

  • Devotee
  • *
  • Posts: 1702
  • 今日は兎汁よー
  • Languages: ja
typo
« 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.

Offline Ranran

  • Devotee
  • *
  • Posts: 1702
  • 今日は兎汁よー
  • Languages: ja
Re: typo
« Reply #1 on: November 27, 2021, 01:35:52 AM »
https://github.com/aburch/simutrans/blob/aa9ec5861443ce619510be3014ecba7756716b42/display/simgraph16.cc#L255
Code: [Select]
#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?

Offline Dwachs

  • DevTeam, Coder/patcher
  • Administrator
  • *
  • Posts: 4931
  • Languages: EN, DE, AT
Re: typo
« Reply #2 on: November 27, 2021, 01:48:23 PM »
Thank you! in r10248 & r10249