Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 6546 in orxonox.OLD for branches/network/src/world_entities


Ignore:
Timestamp:
Jan 18, 2006, 2:11:53 PM (19 years ago)
Author:
rennerc
Message:

fixed bug

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/network/src/world_entities/world_entity.cc

    r6543 r6546  
    551551  SYNCHELP_WRITE_FKT( PNode::readState );
    552552
    553   if ( getModel(0) )
    554   {
    555     char* name = (char*)getModel( 0 )->getName();
     553  if ( getModel(0) && getModel(0)->getName() )
     554  {
     555    char* name = (char*)(getModel( 0 )->getName());
    556556
    557557    if ( strstr(name, ResourceManager::getInstance()->getDataDir()) )
Note: See TracChangeset for help on using the changeset viewer.