mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2026-01-29 17:38:16 +03:00
De-duplicate stuck prevention for the player/SCM
Stuck prevention (pushing the player/supercrewmate out if they are inside a wall) has been factored out into its own function, so it's no longer copy-pasted but slightly tweaked just for the supercrewmate.
This commit is contained in:
@@ -160,6 +160,8 @@ public:
|
||||
|
||||
void collisioncheck(int i, int j, bool scm = false);
|
||||
|
||||
void stuckprevention(int t);
|
||||
|
||||
|
||||
std::vector<entclass> entities;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user