Browse Source

Added explicit static_cast to disable warning.

pull/3/head
JustinAJ 10 years ago
parent
commit
ca0ad35be4
  1. 2
      RenX.Core/RenX_Server.cpp

2
RenX.Core/RenX_Server.cpp

@ -1123,7 +1123,7 @@ void RenX::Server::processLine(const Jupiter::ReadableString &line)
{
player->ping = static_cast<unsigned char>(playerData.get(0)) * 4;
playerData.shiftRight(1);
player->score = playerData.asDouble();
player->score = static_cast<float>(playerData.asDouble());
playerData.shiftLeft(1);
}
player->credits = static_cast<float>(action.asDouble());

Loading…
Cancel
Save