From 62d57cc1def838fe498a7f8d6827e17c4ae751e8 Mon Sep 17 00:00:00 2001 From: krawthekrow Date: Wed, 25 Oct 2017 18:09:44 -0400 Subject: [PATCH] fix indentation --- src/simulation/Simulation.cpp | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/src/simulation/Simulation.cpp b/src/simulation/Simulation.cpp index ae5489ce8..af8290770 100644 --- a/src/simulation/Simulation.cpp +++ b/src/simulation/Simulation.cpp @@ -5281,15 +5281,15 @@ Simulation::Simulation(): pretty_powder(0), sandcolour_frame(0) { - int tportal_rx[] = {-1, 0, 1, 1, 1, 0,-1,-1}; - int tportal_ry[] = {-1,-1,-1, 0, 1, 1, 1, 0}; - - memcpy(portal_rx, tportal_rx, sizeof(tportal_rx)); - memcpy(portal_ry, tportal_ry, sizeof(tportal_ry)); + int tportal_rx[] = {-1, 0, 1, 1, 1, 0,-1,-1}; + int tportal_ry[] = {-1,-1,-1, 0, 1, 1, 1, 0}; - currentTick = 0; - std::fill(elementCount, elementCount+PT_NUM, 0); - elementRecount = true; + memcpy(portal_rx, tportal_rx, sizeof(tportal_rx)); + memcpy(portal_ry, tportal_ry, sizeof(tportal_ry)); + + currentTick = 0; + std::fill(elementCount, elementCount+PT_NUM, 0); + elementRecount = true; //Create and attach gravity simulation grav = new Gravity();