From a1037091ad38a5b39dbb5889c140de2c33497245 Mon Sep 17 00:00:00 2001 From: fgenesis Date: Wed, 18 Oct 2023 02:16:37 +0200 Subject: [PATCH] another int that should be float --- Aquaria/Entity.cpp | 2 +- Aquaria/Entity.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Aquaria/Entity.cpp b/Aquaria/Entity.cpp index 5490180..1d8faaa 100644 --- a/Aquaria/Entity.cpp +++ b/Aquaria/Entity.cpp @@ -85,7 +85,7 @@ BounceType Entity::getBounceType() return bounceType; } -void Entity::generateCollisionMask(int ovrCollideRadius) +void Entity::generateCollisionMask(float ovrCollideRadius) { if (this->skeletalSprite.isLoaded()) { diff --git a/Aquaria/Entity.h b/Aquaria/Entity.h index 98216a1..1c250ad 100644 --- a/Aquaria/Entity.h +++ b/Aquaria/Entity.h @@ -281,7 +281,7 @@ public: float getHealthPerc(); void setDeathScene(bool v); bool isDeathScene() const { return deathScene; } - void generateCollisionMask(int ovrCollideRadius=0); + void generateCollisionMask(float ovrCollideRadius=0); DamageData lastDamage; bool checkSplash(const Vector &override=Vector(0,0,0)); EatData eatData;