equal
deleted
inserted
replaced
286 end; |
286 end; |
287 State:= State or gstInvisible; |
287 State:= State or gstInvisible; |
288 Health:= random(vobFrameTicks); |
288 Health:= random(vobFrameTicks); |
289 if gear^.Timer = 0 then Timer:= random(vobFramesCount); |
289 if gear^.Timer = 0 then Timer:= random(vobFramesCount); |
290 Damage:= (random(2) * 2 - 1) * (vobVelocity + random(vobVelocity)) * 8; |
290 Damage:= (random(2) * 2 - 1) * (vobVelocity + random(vobVelocity)) * 8; |
291 Tint:= (ExplosionBorderColor and RMask shl RShift) or |
291 Tint:= ((ExplosionBorderColor and RMask) shl RShift) or |
292 (ExplosionBorderColor and GMask shl GShift) or |
292 ((ExplosionBorderColor and GMask) shl GShift) or |
293 (ExplosionBorderColor and BMask shl BShift) or $FF; |
293 ((ExplosionBorderColor and BMask) shl BShift) or $FF; |
294 end |
294 end |
295 end; |
295 end; |
296 gtGrave: begin |
296 gtGrave: begin |
297 gear^.ImpactSound:= sndGraveImpact; |
297 gear^.ImpactSound:= sndGraveImpact; |
298 gear^.nImpactSounds:= 1; |
298 gear^.nImpactSounds:= 1; |