summaryrefslogtreecommitdiff
path: root/src/T2DLL/T2WorldPlugin.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/T2DLL/T2WorldPlugin.cpp')
-rw-r--r--src/T2DLL/T2WorldPlugin.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/T2DLL/T2WorldPlugin.cpp b/src/T2DLL/T2WorldPlugin.cpp
index afa7d1c..fc55a9c 100644
--- a/src/T2DLL/T2WorldPlugin.cpp
+++ b/src/T2DLL/T2WorldPlugin.cpp
@@ -90,7 +90,7 @@ void T2WorldPlugin::_DrawFunds(CWnd*, int) {
int result = 0;
if (inDoc->mGameLevel <= inWorldDef->mNumOfGradeDef) {
- T2Pool *thePool = inDoc->towerDoc_vf130();
+ T2Pool *thePool = inDoc->GetPool();
if (thePool) {
GradeDef gradeDef = inWorldDef->mGradeDef[inDoc->mGameLevel - 1];
int population = thePool->GetPopulation();