fix CFLM making VIBR unable to explode
This commit is contained in:
parent
f35f221554
commit
cbd402d8cb
4
.gitignore
vendored
4
.gitignore
vendored
@ -48,6 +48,10 @@ Makefile.me
|
|||||||
*.settings
|
*.settings
|
||||||
*.cbp
|
*.cbp
|
||||||
*.layout
|
*.layout
|
||||||
|
*.config
|
||||||
|
*.creator
|
||||||
|
*.files
|
||||||
|
*.includes
|
||||||
config.log
|
config.log
|
||||||
*.sconsign.dblite
|
*.sconsign.dblite
|
||||||
*.sconf_temp
|
*.sconf_temp
|
||||||
|
@ -157,7 +157,7 @@ int Element_VIBR::update(UPDATE_FUNC_ARGS) {
|
|||||||
{
|
{
|
||||||
if (!parts[r>>8].life)
|
if (!parts[r>>8].life)
|
||||||
parts[r>>8].tmp += 45;
|
parts[r>>8].tmp += 45;
|
||||||
else if (parts[i].tmp2 && rand()%2)
|
else if (parts[i].tmp2 && parts[i].life > 75 && rand()%2)
|
||||||
{
|
{
|
||||||
parts[r>>8].tmp2 = 1;
|
parts[r>>8].tmp2 = 1;
|
||||||
parts[i].tmp = 0;
|
parts[i].tmp = 0;
|
||||||
|
Loading…
Reference in New Issue
Block a user