Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Sep 11, 2008, 5:06:24 PM (16 years ago)
Author:
scheusso
Message:

sync frequencies do work now

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/trunk/src/network/packet/Acknowledgement.cc

    r1763 r1769  
    3131#include "network/Host.h"
    3232#include "network/GamestateHandler.h"
     33#include "core/CoreIncludes.h"
    3334
    3435namespace network {
     
    6364
    6465bool Acknowledgement::process(){
    65   bool b = GamestateHandler::ackGamestate(data_[_ACKID], clientID_);
     66  bool b = GamestateHandler::ackGamestate(getAckID(), clientID_);
    6667  delete this;
    6768  return b;
     
    6970
    7071unsigned int Acknowledgement::getAckID(){
    71   return *(unsigned int *)&data_[ _ACKID ];
     72  return *(unsigned int *)(data_ + _ACKID);
    7273}
    7374
Note: See TracChangeset for help on using the changeset viewer.