diff options
Diffstat (limited to '')
-rw-r--r-- | src/T2DLL/T2OutObj.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/T2DLL/T2OutObj.cpp b/src/T2DLL/T2OutObj.cpp index 570e77c..29c1fca 100644 --- a/src/T2DLL/T2OutObj.cpp +++ b/src/T2DLL/T2OutObj.cpp @@ -106,11 +106,11 @@ T2OutObj::T2OutObj() { if (mToolDef) { mToolDef->LoadExtraData(archive, towerDoc, this); } else { - int count; - archive >> count; + char tmp; + int len; + archive >> len; - for (int i = 0; i < count; i++) { - char tmp; + for (int i = 0; i < len; i++) { archive >> tmp; } } |