aboutsummaryrefslogtreecommitdiffstats
path: root/src/inventory.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/inventory.cpp')
-rw-r--r--src/inventory.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/inventory.cpp b/src/inventory.cpp
index 92cce75..cd8bb71 100644
--- a/src/inventory.cpp
+++ b/src/inventory.cpp
@@ -415,6 +415,8 @@ int Inventory::useItem(void){
}
bool Inventory::detectCollision(vec2 one, vec2 two){
+ (void)one;
+ (void)two;
//float i = 0.0f;
/*if(items.empty() || !items[sel].count)
@@ -441,6 +443,6 @@ bool Inventory::detectCollision(vec2 one, vec2 two){
i+=HLINE;
}
}*/
- return !(one.x == two.y);
+ return false;
}