- Timestamp:
- Jun 28, 2009, 2:45:37 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/core4/src/network/synchronisable/Synchronisable.cc
r3223 r3239 73 73 if (creator) 74 74 { 75 Synchronisable* synchronisable_creator = orxonox_cast<Synchronisable >(creator);75 Synchronisable* synchronisable_creator = orxonox_cast<Synchronisable*>(creator); 76 76 if (synchronisable_creator && synchronisable_creator->objectMode_) 77 77 { … … 161 161 } 162 162 else 163 creator = orxonox_cast<BaseObject >(synchronisable_creator);163 creator = orxonox_cast<BaseObject*>(synchronisable_creator); 164 164 } 165 165 assert(getSynchronisable(header.getObjectID())==0); //make sure no object with this id exists 166 166 BaseObject *bo = id->fabricate(creator); 167 167 assert(bo); 168 Synchronisable *no = orxonox_cast<Synchronisable >(bo);168 Synchronisable *no = orxonox_cast<Synchronisable*>(bo); 169 169 assert(no); 170 170 no->objectID=header.getObjectID();
Note: See TracChangeset
for help on using the changeset viewer.