Changeset c76134b in network-game for common/Player.cpp


Ignore:
Timestamp:
Jun 18, 2013, 11:16:21 PM (11 years ago)
Author:
dportnoy <dmp1488@…>
Branches:
master
Children:
66c4ec4
Parents:
1d0ede1
Message:

A player respawns at their flag 10 seconds after dying

File:
1 edited

Legend:

Unmodified
Added
Removed
  • common/Player.cpp

    r1d0ede1 rc76134b  
    1717   this->timeLastUpdated = 0;
    1818   this->timeAttackStarted = 0;
     19   this->timeDied = 0;
    1920   this->isChasing = false;
    2021   this->isAttacking = false;
     22   this->isDead = false;
    2123
    2224   this->playerClass = CLASS_NONE;
     
    4446   this->timeLastUpdated = p.timeLastUpdated;
    4547   this->timeAttackStarted = p.timeAttackStarted;
     48   this->timeDied = p.timeDied;
    4649   this->isChasing = p.isChasing;
    4750   this->isAttacking = p.isAttacking;
     51   this->isDead = p.isDead;
    4852
    4953   this->playerClass = p.playerClass;
     
    6973   this->timeLastUpdated = 0;
    7074   this->timeAttackStarted = 0;
     75   this->timeDied = 0;
    7176   this->isChasing = false;
    7277   this->isAttacking = false;
     78   this->isDead = false;
    7379
    7480   this->playerClass = CLASS_NONE;
Note: See TracChangeset for help on using the changeset viewer.