Fixed player counting bug. Fixed player number. Joining/leaving network game should work now. Added player type to localplayer.

This commit is contained in:
lotodore
2007-05-08 06:45:46 +00:00
parent 5b878d9095
commit 4a10d6188c
14 changed files with 216 additions and 183 deletions
+2 -2
View File
@@ -19,8 +19,8 @@
#include <playerdata.h>
PlayerData::PlayerData(unsigned uniqueId, int number)
: m_uniqueId(uniqueId), m_number(number), m_type(PLAYER_TYPE_COMPUTER)
PlayerData::PlayerData(unsigned uniqueId, int number, PlayerType type)
: m_uniqueId(uniqueId), m_number(number), m_type(type)
{
}