Skip to content
This repository has been archived by the owner. It is now read-only.

WaterLevel #130

Merged
merged 7 commits into from Jul 11, 2019
Merged

WaterLevel #130

Changes from 1 commit
Commits
File filter
Filter file types
Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.

Always

Just for now

Prev
Merge branch 'master' into master
  • Loading branch information
Fire-Head committed Jul 11, 2019
commit aa449b6fe162d8960351c5fe164a9120b8572652
@@ -20,7 +20,6 @@ CBoat::CBoat(int mi, uint8 owner)

WRAPPER CBoat* CBoat::ctor(int, uint8) { EAXJMP(0x53E3E0); }


bool CBoat::IsSectorAffectedByWake(CVector2D sector, float fSize, CBoat **apBoats)
{
uint8 numVerts = 0;
@@ -71,6 +70,11 @@ float CBoat::IsVertexAffectedByWake(CVector vecVertex, CBoat *pBoat)

WRAPPER void CBoat::FillBoatList(void) { EAXJMP(0x542250); }

class CBoat_ : public CBoat
{
public:
void dtor() { CBoat::~CBoat(); };
};

STARTPATCHES
InjectHook(0x53E790, &CBoat_::dtor, PATCH_JUMP);
@@ -49,6 +49,7 @@ class CBoat : public CVehicle
static bool IsSectorAffectedByWake(CVector2D sector, float fSize, CBoat **apBoats);
static float IsVertexAffectedByWake(CVector vecVertex, CBoat *pBoat);
static void FillBoatList(void);

};
static_assert(sizeof(CBoat) == 0x484, "CBoat: error");

You are viewing a condensed version of this merge commit. You can view the full changes here.