From c2efba6907fab934a04959b9bb644cf7141cc955 Mon Sep 17 00:00:00 2001 From: Ash Wolf Date: Sat, 1 Jul 2023 23:04:04 +0100 Subject: matched T2DLL as well as i can --- src/T2DLL/T2PoolDef.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/T2DLL/T2PoolDef.cpp') diff --git a/src/T2DLL/T2PoolDef.cpp b/src/T2DLL/T2PoolDef.cpp index c60afbb..558fdd7 100644 --- a/src/T2DLL/T2PoolDef.cpp +++ b/src/T2DLL/T2PoolDef.cpp @@ -1,4 +1,5 @@ #include "CResFile.h" +#include "T2PeopleType.h" #include "T2PoolDef.h" #include "T2WorldPlugin.h" @@ -109,7 +110,7 @@ T2PoolDef::T2PoolDef(CResFile &resFile, T2WorldPlugin *worldPlugin) { resFile >> m20; resFile >> mNumOfDemand; #line 129 - _ASSERT(mNumOfDemand <= 8); + _ASSERT(mNumOfDemand <= kMaxDemand); mDemand = new DemandInfo[mNumOfDemand]; for (i = 0; i < mNumOfDemand; i++) { -- cgit v1.2.3