Changeset 032e550 in network-game for common/Player.cpp


Ignore:
Timestamp:
Jun 17, 2013, 1:43:55 AM (12 years ago)
Author:
dportnoy <dmp1488@…>
Branches:
master
Children:
02fa8fd
Parents:
5b1e31e
Message:

Add some more debug info

File:
1 edited

Legend:

Unmodified
Added
Removed
  • common/Player.cpp

    r5b1e31e r032e550  
    199199      this->target.y = mapPlayers[this->targetPlayer].pos.y;
    200200
     201      cout << "Setting target" << endl;
     202      cout << "target id: " << mapPlayers[this->targetPlayer].id << endl;
     203      cout << "cur player id: " << this->id << endl;
     204
    201205      if (posDistance(this->pos, this->target.toFloat()) <= this->range) {
     206         cout << "Stopped chasing" << endl;
     207
    202208         this->target.x = this->pos.x;
    203209         this->target.y = this->pos.y;
Note: See TracChangeset for help on using the changeset viewer.