summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/console_cmds.cpp2
-rw-r--r--src/network/network_content_gui.cpp2
-rw-r--r--src/newgrf_config.h2
3 files changed, 3 insertions, 3 deletions
diff --git a/src/console_cmds.cpp b/src/console_cmds.cpp
index cf2444aac..b5f8d2e47 100644
--- a/src/console_cmds.cpp
+++ b/src/console_cmds.cpp
@@ -1268,7 +1268,7 @@ DEF_CONSOLE_CMD(ConRescanNewGRF)
}
TarScanner::DoScan();
- ScanNewGRFFiles();
+ ScanNewGRFFiles(NULL);
return true;
}
diff --git a/src/network/network_content_gui.cpp b/src/network/network_content_gui.cpp
index 498ef4918..3e901116d 100644
--- a/src/network/network_content_gui.cpp
+++ b/src/network/network_content_gui.cpp
@@ -114,7 +114,7 @@ public:
break;
case CONTENT_TYPE_NEWGRF:
- ScanNewGRFFiles();
+ ScanNewGRFFiles(NULL);
break;
case CONTENT_TYPE_SCENARIO:
diff --git a/src/newgrf_config.h b/src/newgrf_config.h
index 2561af158..9d1f8c507 100644
--- a/src/newgrf_config.h
+++ b/src/newgrf_config.h
@@ -196,7 +196,7 @@ struct NewGRFScanCallback {
virtual void OnNewGRFsScanned() = 0;
};
-void ScanNewGRFFiles(NewGRFScanCallback *callback = NULL);
+void ScanNewGRFFiles(NewGRFScanCallback *callback);
void CheckForMissingSprites();
const GRFConfig *FindGRFConfig(uint32 grfid, FindGRFConfigMode mode, const uint8 *md5sum = NULL, uint32 desired_version = 0);
GRFConfig *GetGRFConfig(uint32 grfid, uint32 mask = 0xFFFFFFFF);