mirror of
https://github.com/The-Powder-Toy/The-Powder-Toy.git
synced 2025-03-21 06:40:02 +01:00
fix indentation
This commit is contained in:
parent
db6fb5461d
commit
62d57cc1de
@ -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();
|
||||
|
Loading…
x
Reference in New Issue
Block a user