diff options
author | Ash Wolf <ninji@wuffs.org> | 2023-07-01 02:43:29 +0100 |
---|---|---|
committer | Ash Wolf <ninji@wuffs.org> | 2023-07-01 02:43:29 +0100 |
commit | 5c6a48b2ff362a70416a6a00fda7d06e0f276f2d (patch) | |
tree | 62cf542c68d91aa6f7a4e3bfa9eddca4ab352970 /src/T2DLL/T2FireBurning.cpp | |
parent | c0c336500955a23e344651e5412c9d9d441ef4ee (diff) | |
download | t2win-5c6a48b2ff362a70416a6a00fda7d06e0f276f2d.tar.gz t2win-5c6a48b2ff362a70416a6a00fda7d06e0f276f2d.zip |
i am in hell
Diffstat (limited to 'src/T2DLL/T2FireBurning.cpp')
-rw-r--r-- | src/T2DLL/T2FireBurning.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/T2DLL/T2FireBurning.cpp b/src/T2DLL/T2FireBurning.cpp index b8cc60d..3ec86e0 100644 --- a/src/T2DLL/T2FireBurning.cpp +++ b/src/T2DLL/T2FireBurning.cpp @@ -5,6 +5,7 @@ #include "T2DateTime.h" #include "T2Dialog.h" #include "T2DlgItem.h" +#include "T2DLL.h" #include "T2EquipPtrList.h" #include "T2FireBurning.h" #include "T2FloorInfo.h" @@ -743,7 +744,7 @@ void T2Helicopter::Move(T2TowerDoc* inDoc) { mSpeed += (mSpeed < 8); float ratio = dst / mSpeed; - if (ratio > 1.0f) { + if (ratio > 1.0) { p.x += (int) (h / ratio); p.y += (int) (v / ratio); } else { |