From ae654356f843bb42a3c72d57b528d87aa63cf66d Mon Sep 17 00:00:00 2001 From: Kelly Rauchenberger Date: Tue, 23 Feb 2021 10:30:16 -0500 Subject: Added a clipping mode (for testing!) This allows walking through solid objects. It can be enabled and disabled using StartClipping() and StopClipping() in the debug console. It should not be used in any actual scripts. --- src/sprite.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/sprite.h') diff --git a/src/sprite.h b/src/sprite.h index 35ca7aa..3d2e9df 100644 --- a/src/sprite.h +++ b/src/sprite.h @@ -77,6 +77,7 @@ public: CharacterState characterState = CharacterState::Still; StepType stepType = StepType::none; int runningSfxChannel = -1; + bool clipping = false; // Input bool controllable = false; -- cgit 1.4.1