summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authoryexo <yexo@openttd.org>2009-02-23 19:35:19 +0000
committeryexo <yexo@openttd.org>2009-02-23 19:35:19 +0000
commitcabfe35e5406b2b50ec00385483df10abf590032 (patch)
treed47ae478dd7a4f24c5651b5adbc14e456dcad3f3 /src
parent85c0276d0e9cfe375100cc0a632368b4fbe310aa (diff)
downloadopenttd-cabfe35e5406b2b50ec00385483df10abf590032.tar.xz
(svn r15558) -Cleanup: Remove some unnecessary friend declarations.
Diffstat (limited to 'src')
-rw-r--r--src/ai/api/ai_object.hpp1
-rw-r--r--src/script/squirrel.hpp2
2 files changed, 0 insertions, 3 deletions
diff --git a/src/ai/api/ai_object.hpp b/src/ai/api/ai_object.hpp
index 9dcb0f4cc..8fb8968c9 100644
--- a/src/ai/api/ai_object.hpp
+++ b/src/ai/api/ai_object.hpp
@@ -31,7 +31,6 @@ typedef bool (AIModeProc)(TileIndex tile, uint32 p1, uint32 p2, uint cmd, Comman
class AIObject : public SimpleCountedObject {
friend void CcAI(bool success, TileIndex tile, uint32 p1, uint32 p2);
friend class AIInstance;
-friend class AIController;
protected:
/**
* Executes a raw DoCommand for the AI.
diff --git a/src/script/squirrel.hpp b/src/script/squirrel.hpp
index 5ce8675ed..31b36f968 100644
--- a/src/script/squirrel.hpp
+++ b/src/script/squirrel.hpp
@@ -46,10 +46,8 @@ protected:
static void ErrorPrintFunc(HSQUIRRELVM vm, const SQChar *s, ...);
public:
- friend class AIController;
friend class AIScanner;
friend class AIInstance;
- friend class AIFileInfo;
Squirrel();
~Squirrel();