Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Sep 6, 2008, 2:53:49 PM (16 years ago)
Author:
scheusso
Message:

fixed a problem with classid

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/network/src/network/packet/ClassID.cc

    r1713 r1714  
    7272
    7373bool ClassID::process(){
    74   COUT(3) << "processing classid: " << getClassID() << " name: " << &data_[ sizeof(network::packet::ENUM::Type) ] << std::endl;
    75   orxonox::Identifier *id=ID( std::string((const char*)&data_[ sizeof(network::packet::ENUM::Type) ]) );
     74  COUT(3) << "processing classid: " << getClassID() << " name: " << (const char*)(data_+_CLASSNAME) << std::endl;
     75  orxonox::Identifier *id=ID( std::string((const char*)(data_+_CLASSNAME) ));
    7676  if(id==NULL)
    7777    return false;
Note: See TracChangeset for help on using the changeset viewer.