Changeset 1ee0ffa in network-game for client/Client/main.cpp


Ignore:
Timestamp:
Jan 24, 2014, 1:46:51 AM (11 years ago)
Author:
dportnoy <dmp1488@…>
Branches:
master
Children:
9ee50ce
Parents:
99cf349
Message:

When the client receives a PLAYER_MOVE messages, it clears that player's target player and isChasing flag

File:
1 edited

Legend:

Unmodified
Added
Removed
  • client/Client/main.cpp

    r99cf349 r1ee0ffa  
    762762               mapPlayers[id]->target.y = y;
    763763
     764               mapPlayers[id]->isChasing = false;
     765               mapPlayers[id]->setTargetPlayer(0);
     766
    764767               break;
    765768            }
     
    10221025               mapPlayers[id]->target.x = x;
    10231026               mapPlayers[id]->target.y = y;
     1027
     1028               mapPlayers[id]->isChasing = false;
     1029               mapPlayers[id]->setTargetPlayer(0);
    10241030
    10251031               break;
Note: See TracChangeset for help on using the changeset viewer.