Fix
authorSam Moore <sam@daedalus.(none)>
Sun, 19 Aug 2012 10:03:46 +0000 (18:03 +0800)
committerSam Moore <sam@daedalus.(none)>
Sun, 19 Aug 2012 10:03:46 +0000 (18:03 +0800)
course/semester2/pprog/assignment0/main.c
course/semester2/pprog/assignment0/nbody.c

index a0d4671..58eff2f 100644 (file)
@@ -40,7 +40,7 @@ int main(int argc, char ** argv)
        {
 
                System_Step(&system);
-               System_WriteData(&system, stdout);
+               //System_WriteData(&system, stdout);
                #ifdef _GRAPHICS_H
                        Graphics_Clear(1, 1, 1); //Clear screen
                        System_Draw(&system); //Draw system
index e860cdf..d8153d7 100644 (file)
@@ -328,7 +328,7 @@ void System_Step(System * system)
        }
 
 
-       return 0;
+       return;
        //Check for collisions
        //Note: Only allows for one collision per step
 

UCC git Repository :: git.ucc.asn.au