Re: [warzone2100-dev] [Warzone2100-commits] [Warzone2100/warzone2100] 4af4b8: Use Vector2i in MOVE_CONTROL.

2011-01-08 Thread Per Inge Mathisen
On Sat, Jan 8, 2011 at 2:53 PM,  nore...@github.com wrote:
 Fix autogame AIs building on top left corner of map, if not running on host.

What is the difference between NetPlay.maxplayers and game.maxplayers?
And shouldn't they be the same (be merged)?

  - Per

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


Re: [warzone2100-dev] [Warzone2100-commits] [Warzone2100/warzone2100] 4af4b8: Use Vector2i in MOVE_CONTROL.

2011-01-08 Thread Cyp
On Sat, Jan 8, 2011 at 3:29 PM, Per Inge Mathisen
per.mathi...@gmail.com wrote:
 On Sat, Jan 8, 2011 at 2:53 PM,  nore...@github.com wrote:
 Fix autogame AIs building on top left corner of map, if not running on host.

 What is the difference between NetPlay.maxplayers and game.maxplayers?
 And shouldn't they be the same (be merged)?

The difference is that game.maxPlayers is the number of players in the
map, and NetPlay.maxPlayers is sometimes (except when it isn't) the
number of players in the map. (I'm guessing that NetPlay.maxPlayers
was 0 when not the host, but I didn't bother to check.)

NetPlay.maxPlayers is gone now.

-Cyp

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