diff options
Diffstat (limited to 'sources/core/VSProcess.java')
| -rw-r--r-- | sources/core/VSProcess.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sources/core/VSProcess.java b/sources/core/VSProcess.java index 1a7f319..e0dd770 100644 --- a/sources/core/VSProcess.java +++ b/sources/core/VSProcess.java @@ -585,8 +585,8 @@ public class VSProcess extends VSPrefs { * @return the a random message outage time */ public synchronized long getARandomMessageOutageTime(final long durationTime, VSProcess receiverProcess) { - int percentage = (int) ((getInteger("message.prob.outage") + - receiverProcess.getInteger("message.prob.outage")) / 2); + int percentage = (int) ((getInteger("message.prob.outage") + + receiverProcess.getInteger("message.prob.outage")) / 2); /* Check if the message will have an outage or not */ if (getRandomPercentage() <= percentage) { /* Calculate the random outage time! */ |
