Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/kart/KartCollide.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ class KartCollide : public IKartCollide, public KartObjectProxy {
const EGG::Vector3f& getMovement() const { return movement; }
f32 get1c() const { return _1c; }

private:
public:
KartCollideArea* kartCollideArea;
f32 boundingRadius;
/// Collision between two players can't occur more often than every 10 frames, counted by this timer
Expand Down
3 changes: 3 additions & 0 deletions src/kart/KartObjectProxy.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,9 @@ class KartObjectProxy {
// dunno why this specifically is inline, but that's what it appears
KartState* kartState() { return mAccessor->mKartState; }
const KartState* kartState() const { return mAccessor->mKartState; }
KartState* kartStateReload() {
return *(KartState* volatile*)&mAccessor->mKartState;
}

KartParam* kartParam() const;
KartStats* kartStats() const;
Expand Down
Loading