Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Oct 29, 2008, 12:48:11 AM (16 years ago)
Author:
landauf
Message:

bugs—
network++
endurance—
tiredness++

but it still doesn't work properly
(commit because oli is very impatient)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/objecthierarchy/src/orxonox/LevelManager.cc

    r2040 r2041  
    112112        assert(!this->clients_[clientID]);
    113113        this->clients_[clientID] = player;
     114
     115        if (this->getActiveLevel())
     116            this->getActiveLevel()->playerEntered(player);
    114117    }
    115118
     
    121124        PlayerInfo* player = this->clients_[clientID];
    122125        this->clients_.erase(clientID);
     126
     127        if (this->getActiveLevel())
     128            this->getActiveLevel()->playerLeft(player);
    123129
    124130        // delete PlayerInfo instance
Note: See TracChangeset for help on using the changeset viewer.