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


Ignore:
Timestamp:
Jun 18, 2013, 11:16:21 PM (12 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/Projectile.cpp

    r1d0ede1 rc76134b  
    7474   // if the current target logs off, this method will run into problems
    7575
    76    //cout << "Inside projectile move" << endl;
     76   cout << "Inside projectile move" << endl;
    7777
    7878   unsigned long long curTime = getCurrentMillis();
     79   cout << "Got current time" << endl;
     80
    7981   Player targetP = mapPlayers[target];
     82   cout << "Got target" << endl;
    8083
    8184   if (timeLastUpdated == 0) {
     
    8992   float dist = sqrt(pow(targetP.pos.x-pos.x, 2) + pow(targetP.pos.y-pos.y, 2));
    9093
    91    //cout << "About to finish projectile move" << endl;
     94   cout << "About to finish projectile move" << endl;
    9295
    9396   if (dist <= pixels) {
Note: See TracChangeset for help on using the changeset viewer.