summaryrefslogtreecommitdiff
path: root/src/Plugins/Food/Common/Trash.cpp
diff options
context:
space:
mode:
authorAsh Wolf <ninji@wuffs.org>2023-07-10 02:10:20 +0100
committerAsh Wolf <ninji@wuffs.org>2023-07-10 02:10:20 +0100
commit0f3cba6fcea0ffd511dfe3275d57a5b9e69be5be (patch)
tree7f9caca3a050552001e87fe5b6bf7d7149afaf1c /src/Plugins/Food/Common/Trash.cpp
parentbd99f088a53686119c9bbfc0baf34128cd0eda2f (diff)
downloadt2win-0f3cba6fcea0ffd511dfe3275d57a5b9e69be5be.tar.gz
t2win-0f3cba6fcea0ffd511dfe3275d57a5b9e69be5be.zip
build a barely-tested Burger plugin
Diffstat (limited to '')
-rw-r--r--src/Plugins/Food/Common/Trash.cpp17
1 files changed, 9 insertions, 8 deletions
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);
}
}