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:
lotodore
2007-11-22 01:11:17 +00:00
parent c5bae66142
commit c0bf559ca2
3 changed files with 12 additions and 2 deletions
+2
View File
@@ -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);