Codechange: do not declare functions in blocks
This commit is contained in:
@@ -85,7 +85,6 @@ const char *ContentInfo::GetTextfile(TextfileType type) const
|
||||
break;
|
||||
case CONTENT_TYPE_SCENARIO:
|
||||
case CONTENT_TYPE_HEIGHTMAP:
|
||||
extern const char *FindScenario(const ContentInfo *ci, bool md5sum);
|
||||
tmp = FindScenario(this, true);
|
||||
break;
|
||||
}
|
||||
|
@@ -42,7 +42,6 @@ NetworkRecvStatus NetworkGameSocketHandler::CloseConnection(bool error)
|
||||
{
|
||||
/* Clients drop back to the main menu */
|
||||
if (!_network_server && _networking) {
|
||||
extern void ClientNetworkEmergencySave(); // from network_client.cpp
|
||||
ClientNetworkEmergencySave();
|
||||
_switch_mode = SM_MENU;
|
||||
_networking = false;
|
||||
|
Reference in New Issue
Block a user