Client changes and tweaks

This commit is contained in:
2020-05-04 02:45:04 -04:00
parent 0e2eb924c7
commit 6726982ee6
8 changed files with 109 additions and 27 deletions

View File

@ -76,7 +76,7 @@ void Authenticate(ENetEvent* event)
usernames[peer_id] = username;
//Spawn entity
std::string spawn_data = gamemap.spawn_entity(usernames[peer_id], "player", 127, 127);
std::string spawn_data = gamemap.spawn_entity(usernames[peer_id], "player", 128, 129);
//Tell peers about new player
data = ("2|" + spawn_data).c_str();