summaryrefslogtreecommitdiff
path: root/src/T2DLL/T2MetroRailway.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/T2MetroRailway.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/T2MetroRailway.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/T2DLL/T2MetroRailway.cpp b/src/T2DLL/T2MetroRailway.cpp
index 89b44a5..5653e83 100644
--- a/src/T2DLL/T2MetroRailway.cpp
+++ b/src/T2DLL/T2MetroRailway.cpp
@@ -135,7 +135,7 @@ void T2MetroRailway::Init(T2Transport* inParent, CResFile* inResFile) {
whichSound = 1;
var1C = 0;
} else {
- var1C += theNow->mSeconds * 4;
+ var1C = var1C * 4 + theNow->mSeconds;
}
}