Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jan 24, 2006, 3:10:55 PM (18 years ago)
Author:
patrick
Message:

newtork: now only entities created on the server get a valiable uniqueID

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/network/src/lib/network/network_manager.h

    r6672 r6673  
    5454
    5555    /** @returns the next uniqueID free for an object */
    56     inline int getNewUniqueID() { return this->newUniqueID++; }
     56    inline int getNewUniqueID() { return ( this->bGameServer)?this->newUniqueID++:-1; }
    5757
    5858    void debug();
Note: See TracChangeset for help on using the changeset viewer.