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