Merge branch 'master' of github.com:FacialTurd/The-Powder-Toy

This commit is contained in:
Simon Robertshaw 2013-02-17 11:31:03 +00:00
commit 81f92ed0ec
2 changed files with 2 additions and 2 deletions

View File

@ -27,7 +27,7 @@
#endif
#ifndef BUILD_NUM
#define BUILD_NUM 255
#define BUILD_NUM 261
#endif
#ifndef SNAPSHOT_ID

View File

@ -96,7 +96,7 @@ int Element_CRAY::update(UPDATE_FUNC_ARGS)
colored = wavelengthToDecoColour(parts[r>>8].ctype);
} else if ((r&0xFF)==PT_CRAY || nostop) {
docontinue = 1;
} else if(destroy && (r&0xFF != PT_DMND)) {
} else if(destroy && ((r&0xFF) != PT_DMND)) {
sim->kill_part(r>>8);
if(!--partsRemaining)
docontinue = 0;