summaryrefslogtreecommitdiff
path: root/src/T2DLL/T2PoolDef.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/T2DLL/T2PoolDef.cpp')
-rw-r--r--src/T2DLL/T2PoolDef.cpp3
1 files changed, 2 insertions, 1 deletions
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++) {