From 0f3cba6fcea0ffd511dfe3275d57a5b9e69be5be Mon Sep 17 00:00:00 2001 From: Ash Wolf Date: Mon, 10 Jul 2023 02:10:20 +0100 Subject: build a barely-tested Burger plugin --- src/Plugins/Food/Common/Trash.cpp | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) (limited to 'src/Plugins/Food/Common/Trash.cpp') diff --git a/src/Plugins/Food/Common/Trash.cpp b/src/Plugins/Food/Common/Trash.cpp index 15e7c6c..b6f2230 100644 --- a/src/Plugins/Food/Common/Trash.cpp +++ b/src/Plugins/Food/Common/Trash.cpp @@ -1,11 +1,12 @@ // actual name unknown -#include "T2EquipPtrList.h" -#include "T2People.h" -#include "T2RegistedTenantDB.h" -#include "T2RouteNavigator.h" -#include "T2Tenant.h" -#include "T2TowerDoc.h" -#include "T2TowerMessage.h" +#include "StdAfx.h" +#include "../../../T2DLL/T2EquipPtrList.h" +#include "../../../T2DLL/T2People.h" +#include "../../../T2DLL/T2RegistedTenantDB.h" +#include "../../../T2DLL/T2RouteNavigator.h" +#include "../../../T2DLL/T2Tenant.h" +#include "../../../T2TowerDoc.h" +#include "../../../T2DLL/T2TowerMessage.h" #include "Trash.h" void TakeOutTrash(T2TowerDoc *inDoc, T2Tenant *inTenant, unsigned int inTime) { @@ -95,7 +96,7 @@ T2EquipPtrList *GetTrashFacilities(T2TowerDoc *inDoc, T2Tenant *inTenant) { T2RegistedTenantDB *theDB = inDoc->GetRegistedTenantDB(); if (theDB) { theList = theDB->GetList(kTenantRegistID2); - inTenant->SetRelatedTenant(theList); + inTenant->SetRelatedTenantList(theList); } } -- cgit v1.2.3