Changeset 5b92307 in network-game for client/Client/GameRender.cpp


Ignore:
Timestamp:
Jan 20, 2014, 6:47:58 PM (11 years ago)
Author:
dportnoy <dmp1488@…>
Branches:
master
Children:
204edcf
Parents:
949cf70
Message:

id and targetPlayer are now both private members of the Player class and have getters and setters to access them

File:
1 edited

Legend:

Unmodified
Added
Removed
  • client/Client/GameRender.cpp

    r949cf70 r5b92307  
    7474      pos = mapToScreen(p->pos.toInt());
    7575
    76       if (p->id == curPlayerId)
     76      if (p->getId() == curPlayerId)
    7777         al_draw_filled_circle(pos.x, pos.y, 14, al_map_rgb(0, 0, 0));
    7878     
Note: See TracChangeset for help on using the changeset viewer.