Minor refactoring

This commit is contained in:
sfan5
2018-03-24 14:54:45 +01:00
parent 75599e8569
commit c15adfd325
3 changed files with 27 additions and 15 deletions

View File

@ -56,6 +56,10 @@ PlayerAttributes::PlayerAttributes(const std::string &sourceDirectory)
positionStream >> player.z;
player.name = name;
player.x /= 10.0;
player.y /= 10.0;
player.z /= 10.0;
m_players.push_back(player);
}
closedir(dir);