Browse Source

Added safety check

pull/3/head
JustinAJ 10 years ago
parent
commit
0330d44104
  1. BIN
      Release/Bot.lib
  2. BIN
      Release/Plugins/RenX.Core.lib
  3. 4
      RenX.Core/RenX_Core.cpp

BIN
Release/Bot.lib

Binary file not shown.

BIN
Release/Plugins/RenX.Core.lib

Binary file not shown.

4
RenX.Core/RenX_Core.cpp

@ -497,7 +497,9 @@ int RenX::Core::think()
else if (header.equals("lC-LIST:")) else if (header.equals("lC-LIST:"))
{ {
// ID IP SteamID Team Name // ID IP SteamID Team Name
if (playerData.isEmpty())
break;
int id; int id;
bool isBot = false; bool isBot = false;
if (playerData.get(0) == 'b') if (playerData.get(0) == 'b')

Loading…
Cancel
Save