Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Mar 23, 2013, 4:34:14 PM (12 years ago)
Author:
landauf
Message:

fabricate() should return OrxonoxClass*

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/core6/src/libraries/network/synchronisable/Synchronisable.cc

    r8858 r9556  
    156156    }
    157157    assert(getSynchronisable(header.getObjectID())==0);   //make sure no object with this id exists
    158     BaseObject *bo = id->fabricate(creator);
     158    BaseObject *bo = orxonox_cast<BaseObject*>(id->fabricate(creator));
    159159    assert(bo);
    160160    Synchronisable *no = orxonox_cast<Synchronisable*>(bo);
Note: See TracChangeset for help on using the changeset viewer.