aboutsummaryrefslogtreecommitdiff
path: root/engines/agos/detection.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/agos/detection.cpp')
-rw-r--r--engines/agos/detection.cpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/engines/agos/detection.cpp b/engines/agos/detection.cpp
index 31ff220412..268b62cab2 100644
--- a/engines/agos/detection.cpp
+++ b/engines/agos/detection.cpp
@@ -23,8 +23,6 @@
*
*/
-#include "common/stdafx.h"
-
#include "base/plugins.h"
#include "common/advancedDetector.h"
@@ -173,10 +171,10 @@ Common::Platform AGOSEngine::getPlatform() const {
return _gameDescription->desc.platform;
}
-const char *AGOSEngine::getFileName(int type) const {
+const char *AGOSEngine::getFileName(int type) const {
for (int i = 0; _gameDescription->desc.filesDescriptions[i].fileType; i++) {
if (_gameDescription->desc.filesDescriptions[i].fileType == type)
- return _gameDescription->desc.filesDescriptions[i].fileName;
+ return _gameDescription->desc.filesDescriptions[i].fileName;
}
return NULL;
}