Changeset 7fa452f in network-game for client/Client/GameRender.cpp


Ignore:
Timestamp:
Nov 8, 2014, 1:38:54 AM (10 years ago)
Author:
Dmitry Portnoy <dmp1488@…>
Branches:
master
Children:
347d768
Parents:
306758e
Message:

Change the player team variable so that 0 means no team, 1 means blue team, and 2 means red team (before, -1 meant no team, 0 meant blue team, and 1 meant red team)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • client/Client/GameRender.cpp

    r306758e r7fa452f  
    9696         al_draw_filled_circle(pos.x, pos.y, 14, al_map_rgb(0, 0, 0));
    9797     
    98       if (p->team == 0)
     98      if (p->team == 1)
    9999         color = al_map_rgb(0, 0, 255);
    100       else if (p->team == 1)
     100      else if (p->team == 2)
    101101         color = al_map_rgb(255, 0, 0);
    102102      else {
Note: See TracChangeset for help on using the changeset viewer.