De-duplicate entity collision checks for player/SCM

The entity collision check routine has been factored out into its own
function, so it no longer needs to be copy-pasted for the supercrewmate.
This commit is contained in:
Misa
2020-09-05 17:35:44 -07:00
committed by Ethan Lee
parent ceaee392e5
commit b5806c8bb0
2 changed files with 131 additions and 170 deletions

View File

@@ -158,6 +158,8 @@ public:
void entitycollisioncheck();
void collisioncheck(int i, int j, bool scm = false);
std::vector<entclass> entities;