From 8f72ee829fd2849b7ec5bb330c73a176d710442b Mon Sep 17 00:00:00 2001 From: jacob1 Date: Fri, 7 Jun 2013 12:45:36 -0400 Subject: PHOT can go through PBCN and BCLN, fixes differences in PHOT cloning found in save id:1213267 also some renaming / reorganizing in init_can_move diff --git a/src/simulation/Simulation.cpp b/src/simulation/Simulation.cpp index 5a5f3d6..6fea6de 100644 --- a/src/simulation/Simulation.cpp +++ b/src/simulation/Simulation.cpp @@ -1948,93 +1948,109 @@ bool Simulation::IsWallBlocking(int x, int y, int type) void Simulation::init_can_move() { + int movingType, destinationType; // can_move[moving type][type at destination] // 0 = No move/Bounce // 1 = Swap // 2 = Both particles occupy the same space. // 3 = Varies, go run some extra checks - int t, rt, stkm_move; - for (rt=0;rt