summaryrefslogtreecommitdiff
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
commit301dcb6dc409a29527a2177facd575b7407f4e76 (patch)
treed47ae478dd7a4f24c5651b5adbc14e456dcad3f3
parent6137a9e95353db8a2da3e3aacbbe611d4fe8bae2 (diff)
downloadopenttd-301dcb6dc409a29527a2177facd575b7407f4e76.tar.xz
(svn r15558) -Cleanup: Remove some unnecessary friend declarations.
-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();