bdilly pushed a commit to branch master.

http://git.enlightenment.org/games/eskiss.git/commit/?id=1ddaab2f6a83c1bb6e33e76e38c086d8607093ed

commit 1ddaab2f6a83c1bb6e33e76e38c086d8607093ed
Author: Bruno Dilly <bdi...@profusion.mobi>
Date:   Mon Oct 17 15:01:53 2016 -0200

    Update code regarding cpSpace fields
    
    Now chipmunk only have a single field related to
    iterations, no more elasticIteractions.
---
 src/bin/physic_object.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/bin/physic_object.c b/src/bin/physic_object.c
index 2b00f71..15a6532 100644
--- a/src/bin/physic_object.c
+++ b/src/bin/physic_object.c
@@ -40,7 +40,7 @@ void physic_init(void)
 
         space = cpSpaceNew();
         space->gravity = cpv(0, -1000);
-        space->elasticIterations = 10;
+        space->iterations = 10;
 }
 
 /**

-- 


Reply via email to