Changeset df79cfd in network-game for common


Ignore:
Timestamp:
May 25, 2013, 7:32:50 PM (12 years ago)
Author:
dportnoy <dmp1488@…>
Branches:
master
Children:
a6066e8
Parents:
b8cb03f
Message:

The server assigns a random team to each player when they login

File:
1 edited

Legend:

Unmodified
Added
Removed
  • common/Player.cpp

    rb8cb03f rdf79cfd  
    3131   this->target.y = p.target.y;
    3232   this->addr = p.addr;
    33       this->team = 0;   // blue team by default
    34    this->hasBlueFlag = false;
    35    this->hasRedFlag = false;
     33   this->team = p.team;
     34   this->hasBlueFlag = p.hasBlueFlag;
     35   this->hasRedFlag = p.hasRedFlag;
    3636}
    3737
Note: See TracChangeset for help on using the changeset viewer.