Fixed two avatar related bugs, which were both result of not adding an avatar to the manager when it was configured (a restart was required). Fixed "the server requested a non-existing avatar", and fixed showing own avatar in lobby directly after setting it.
This commit is contained in:
@@ -47,6 +47,8 @@ public:
|
||||
bool init();
|
||||
void init(boost::shared_ptr<AvatarManager> manager);
|
||||
|
||||
void addOwnAvatar(const std::string &avatarFile);
|
||||
|
||||
void startLocalGame(const GameData &gameData, const StartData &startData);
|
||||
void startClientGame(boost::shared_ptr<Game> game);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user