src/ai/core/ai_company.hpp
branchnoai
changeset 9425 8eec6d10844a
parent 9422 33efcc5f1b09
--- a/src/ai/core/ai_company.hpp	Thu Mar 15 22:08:00 2007 +0000
+++ b/src/ai/core/ai_company.hpp	Thu Mar 15 22:17:28 2007 +0000
@@ -71,7 +71,7 @@
 	bool SetLoanAmount(int32 loan);
 };
 
-#ifdef SQUIRREL_CLASS
+#ifdef DEFINE_SQUIRREL_CLASS
 void SQAICompanyRegister(Squirrel *engine) {
 	DefSQClass <AICompany> SQAICompany("AICompany");
 	SQAICompany.PreRegister(engine);