This commit is contained in:
@@ -10,7 +10,7 @@ void checkCollision(){
|
||||
for(int j=0; u<=MAX_ENTITIES; u++){
|
||||
if(u!=j){
|
||||
Entity *en2 = &entities[j];
|
||||
if(en1->position.x<en2.position.y){
|
||||
if(en1->position.x<en2->position.x){
|
||||
ApplyForce(
|
||||
en1,
|
||||
(Vector2){10000, 0}
|
||||
|
||||
Reference in New Issue
Block a user