Change portal so that randomness never causes a particle to exit the same side it came in

This commit is contained in:
jacksonmj
2011-08-20 22:50:59 +08:00
committed by Simon Robertshaw
parent 20aba663cd
commit 5f8fba12c8
4 changed files with 42 additions and 54 deletions

View File

@@ -946,6 +946,8 @@ static wall_type wtypes[] =
particle portalp[CHANNELS][8][80];
const particle emptyparticle;
int wireless[CHANNELS][2];
extern int portal_rx[8];
extern int portal_ry[8];
extern int wire_placed;