fix: does not compile after merge
collide() needs its prototype
This commit is contained in:
@@ -184,7 +184,7 @@ bool objcollide(physent *d, const vec &objpos, float objrad, float objheight) //
|
||||
// drop & rise are supplied by the physics below to indicate gravity/push for current mini-timestep
|
||||
static int cornersurface = 0;
|
||||
|
||||
bool collide(physent *d, bool spawn = false, float drop = 0, float rise = 0)
|
||||
bool collide(physent *d, bool spawn, float drop, float rise)
|
||||
{
|
||||
cornersurface = 0;
|
||||
const float fx1 = d->o.x-d->radius; // figure out integer cube rectangle this entity covers in map
|
||||
|
||||
Reference in New Issue
Block a user