Changeset 7f2cef0 in network-game for common


Ignore:
Timestamp:
May 10, 2013, 12:58:25 AM (12 years ago)
Author:
dportnoy <dmp1488@…>
Branches:
master
Children:
d436ac4
Parents:
db58227
Message:

Another change to fix the player movement bug

File:
1 edited

Legend:

Unmodified
Added
Removed
  • common/Player.cpp

    rdb58227 r7f2cef0  
    104104         newPos.y = target.y;
    105105      }else {
    106          newPos.x = int(pos.x + cos(angle)*pixels);
    107          newPos.y = int(pos.y + sin(angle)*pixels);
     106         newPos.x = pos.x + cos(angle)*pixels;
     107         newPos.y = pos.y + sin(angle)*pixels;
    108108      }
    109109
Note: See TracChangeset for help on using the changeset viewer.