Remove patches

This commit is contained in:
Sergeanur
2020-04-17 16:31:11 +03:00
parent c8af08330a
commit 599164006a
174 changed files with 244 additions and 4689 deletions

View File

@@ -1,5 +1,5 @@
#include "common.h"
#include "patcher.h"
#include "Timer.h"
#include "WaterLevel.h"
#include "ModelIndices.h"
@@ -183,12 +183,3 @@ cBuoyancy::CalcBuoyancyForce(CPhysical *phys, CVector *point, CVector *impulse)
*impulse = CVector(0.0f, 0.0f, m_volumeUnderWater*m_buoyancy*CTimer::GetTimeStep());
return true;
}
STARTPATCHES
InjectHook(0x546270, &cBuoyancy::ProcessBuoyancy, PATCH_JUMP);
InjectHook(0x546360, &cBuoyancy::PreCalcSetup, PATCH_JUMP);
InjectHook(0x5466F0, &cBuoyancy::SimpleCalcBuoyancy, PATCH_JUMP);
InjectHook(0x546820, &cBuoyancy::SimpleSumBuoyancyData, PATCH_JUMP);
InjectHook(0x546620, &cBuoyancy::FindWaterLevel, PATCH_JUMP);
InjectHook(0x5465A0, &cBuoyancy::CalcBuoyancyForce, PATCH_JUMP);
ENDPATCHES