summaryrefslogtreecommitdiff
path: root/src/T2DLL/T2OutObj.cpp
diff options
context:
space:
mode:
authorAsh Wolf <ninji@wuffs.org>2023-07-01 23:04:04 +0100
committerAsh Wolf <ninji@wuffs.org>2023-07-01 23:04:04 +0100
commitc2efba6907fab934a04959b9bb644cf7141cc955 (patch)
treec047244f99870e44a7a5d7e733c2857434c03765 /src/T2DLL/T2OutObj.cpp
parent1eb8da84d77d0c865623421069ec38bfc7b0d461 (diff)
downloadt2win-c2efba6907fab934a04959b9bb644cf7141cc955.tar.gz
t2win-c2efba6907fab934a04959b9bb644cf7141cc955.zip
matched T2DLL as well as i can
Diffstat (limited to '')
-rw-r--r--src/T2DLL/T2OutObj.cpp8
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;
}
}