Changeset b26229c in network-game for common


Ignore:
Timestamp:
May 18, 2013, 9:29:09 PM (11 years ago)
Author:
dportnoy <dmp1488@…>
Branches:
master
Children:
a78c387
Parents:
2864d8e
Message:

Some more map debugging

Location:
common
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • common/Player.cpp

    r2864d8e rb26229c  
    131131      // using moveCanceled in a hacky way just to indicate that the server
    132132      // has updated some player info. Should change the variable name
     133      cout << "Object at location: " << map->getObject(newPos.x/25, newPos.y/25) << endl;
    133134      switch(map->getObject(newPos.x/25, newPos.y/25)) {
    134135      case WorldMap::OBJECT_BLUE_FLAG:
  • common/WorldMap.cpp

    r2864d8e rb26229c  
    177177                  break;
    178178               case 1:
    179                   object = OBJECT_RED_FLAG;
     179                  object = OBJECT_BLUE_FLAG;
    180180                  break;
    181181               case 2:
    182                   object = OBJECT_BLUE_FLAG;
     182                  object = OBJECT_RED_FLAG;
    183183                  break;
    184184               }
Note: See TracChangeset for help on using the changeset viewer.