summaryrefslogtreecommitdiff
path: root/sources/core/VSProcess.java
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2008-05-27 17:23:45 +0000
committerPaul Buetow <paul@buetow.org>2008-05-27 17:23:45 +0000
commit97a3a4f07cdc8437f73f4270b237e85c7739a6be (patch)
tree32154e63775f1fa145d176301840e3150b8eb001 /sources/core/VSProcess.java
parent39e9eb74c011ee5351ac1796e5df529a70aa8945 (diff)
client and server variables are now separate in the editor.
Diffstat (limited to 'sources/core/VSProcess.java')
-rw-r--r--sources/core/VSProcess.java4
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! */