WIP fixing pull request

This commit is contained in:
stiffly
2016-03-12 15:07:10 +01:00
parent 9942747d41
commit 9bac141a6b
3 changed files with 15 additions and 9 deletions
+1 -1
View File
@@ -592,7 +592,7 @@ void Server::parseOnInputCommand(Packet& packet)
e.Player = EntityWrapper(m_World, m_ConnectedPlayers.at(player).EntityID);
e.Value = packet.ReadPrimitive<float>();
m_EventBroker->Publish(e);
if (e.Command == "PrimaryFire" || e.Command == "Reload" || e.Command == "Jump") {
if (e.Command == "PrimaryFire" || e.Command == "Reload") {
m_InputCommandsToBroadcast.push_back(e);
}
//LOG_INFO("Server::parseOnInputCommand: Command is %s. Value is %f. PlayerID is %i.", e.Command.c_str(), e.Value, e.PlayerID);