mirror of
https://github.com/glest/glest-source.git
synced 2025-08-13 20:03:58 +02:00
Fixed warning
This commit is contained in:
@@ -4435,7 +4435,7 @@ namespace Game {
|
||||
if (faction->getFactionDisconnectHandled() == false &&
|
||||
(faction->getControlType() == ctNetwork)) {
|
||||
|
||||
if (aiInterfaces.size() <= i)
|
||||
if (static_cast<int>(aiInterfaces.size()) <= i)
|
||||
aiInterfaces.push_back(NULL);
|
||||
if (aiInterfaces[i] == NULL && (server == NULL ||
|
||||
server->isClientConnected(faction->getStartLocationIndex()) == false)) {
|
||||
|
Reference in New Issue
Block a user