diff options
| author | Paul Buetow <paul@buetow.org> | 2008-05-27 17:23:45 +0000 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2008-05-27 17:23:45 +0000 |
| commit | 97a3a4f07cdc8437f73f4270b237e85c7739a6be (patch) | |
| tree | 32154e63775f1fa145d176301840e3150b8eb001 /sources/core/VSProcess.java | |
| parent | 39e9eb74c011ee5351ac1796e5df529a70aa8945 (diff) | |
client and server variables are now separate in the editor.
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! */ |
