Changeset 3535088 in network-game for common


Ignore:
Timestamp:
Dec 30, 2012, 6:48:04 PM (12 years ago)
Author:
dportnoy <dmp1488@…>
Branches:
master
Children:
cee623e
Parents:
1106210
Message:

Fixed some Plauer serialization compilation errors

File:
1 edited

Legend:

Unmodified
Added
Removed
  • common/Player.cpp

    r1106210 r3535088  
    6868   oss << this->id;
    6969   oss << this->name;
    70    css << this->pos.x;
    71    css << this->pos.y;
     70   //oss << '\0';
     71   oss << this->pos.x;
     72   oss << this->pos.y;
    7273
    73    memcpy(buffer, oss.str().c_str(), oss.str().length);
     74   memcpy(buffer, oss.str().c_str(), oss.str().length());
    7475}
    7576
     
    8687   */
    8788
    88    iss >> this.id;
     89   iss >> this->id;
    8990   iss >> this->name;
    9091   iss >> this->pos.x;
Note: See TracChangeset for help on using the changeset viewer.