diff options
| author | jacob1 <jfu614@gmail.com> | 2013-02-22 04:35:44 (GMT) |
|---|---|---|
| committer | jacob1 <jfu614@gmail.com> | 2013-02-22 04:35:44 (GMT) |
| commit | 3da733b0270dd36b0515896e80d861e4ab7496d1 (patch) | |
| tree | 7f75eccbdba3dd32cec0e7294d8663749fb16ad4 /src/simulation/Simulation.h | |
| parent | 2184d35b28a42358ed232b7c448e7462e403e172 (diff) | |
| download | powder-3da733b0270dd36b0515896e80d861e4ab7496d1.zip powder-3da733b0270dd36b0515896e80d861e4ab7496d1.tar.gz | |
fix PSTN bugs where FRME would still move even if all of it couldn't, fix PSTN going through walls, fix bug where the PSTN extention may not be created in some glitched cases
Diffstat (limited to 'src/simulation/Simulation.h')
| -rw-r--r-- | src/simulation/Simulation.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/simulation/Simulation.h b/src/simulation/Simulation.h index fd65f82..abcea15 100644 --- a/src/simulation/Simulation.h +++ b/src/simulation/Simulation.h @@ -138,7 +138,7 @@ public: TPT_NO_INLINE int try_move(int i, int x, int y, int nx, int ny); TPT_NO_INLINE int eval_move(int pt, int nx, int ny, unsigned *rr); void init_can_move(); - bool IsObsticle(int x, int y, int type); + bool IsWallBlocking(int x, int y, int type); void create_cherenkov_photon(int pp); void create_gain_photon(int pp); TPT_NO_INLINE void kill_part(int i); |
