mirror of
https://github.com/glest/glest-source.git
synced 2025-10-02 18:36:48 +02:00
- code cleanup from cppcheck
- added more checks when loading models, maps and textures
This commit is contained in:
@@ -247,9 +247,7 @@ void GameNetworkInterface::requestCommand(const NetworkCommand *networkCommand,
|
||||
const int32 SEND_FILE = 0x20;
|
||||
const int32 ACK = 0x47;
|
||||
|
||||
FileTransferSocketThread::FileTransferSocketThread(FileTransferInfo fileInfo)
|
||||
{
|
||||
this->info = fileInfo;
|
||||
FileTransferSocketThread::FileTransferSocketThread(FileTransferInfo fileInfo) : info(fileInfo) {
|
||||
this->info.serverPort += 100;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user