aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorwhiteshark0 <whiteshark0@b956fd51-792f-4845-bead-9b4dfca2ff2c>2007-03-22 19:36:12 +0000
committerwhiteshark0 <whiteshark0@b956fd51-792f-4845-bead-9b4dfca2ff2c>2007-03-22 19:36:12 +0000
commitb6d5c314031498281c73dbfe53bba323430e031a (patch)
tree272f995bdbc0304707008d286d34812a04b8457b
parentcca5f57513b0ea2cf9ade1027420962bb1ed51f8 (diff)
downloadusdx-b6d5c314031498281c73dbfe53bba323430e031a.tar.gz
usdx-b6d5c314031498281c73dbfe53bba323430e031a.tar.xz
usdx-b6d5c314031498281c73dbfe53bba323430e031a.zip
Fixed Bug: If Nobody gets Points, everybody wins
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@14 b956fd51-792f-4845-bead-9b4dfca2ff2c
-rw-r--r--Modis/Blind/Blind.dpr2
-rw-r--r--Modis/Duell/Duell.dpr2
2 files changed, 2 insertions, 2 deletions
diff --git a/Modis/Blind/Blind.dpr b/Modis/Blind/Blind.dpr
index 99c7d7eb..ab440e67 100644
--- a/Modis/Blind/Blind.dpr
+++ b/Modis/Blind/Blind.dpr
@@ -74,7 +74,7 @@ begin
5: Result := 32;
end;
end
- else if (PlayerInfo.Playerinfo[I].Score = MaxScore) then
+ else if (PlayerInfo.Playerinfo[I].Score = MaxScore) AND (PlayerInfo.Playerinfo[I].Score <> 0) then
begin
Case I of
0: Result := Result OR 1;
diff --git a/Modis/Duell/Duell.dpr b/Modis/Duell/Duell.dpr
index 40ae11ed..4a22a5d7 100644
--- a/Modis/Duell/Duell.dpr
+++ b/Modis/Duell/Duell.dpr
@@ -72,7 +72,7 @@ begin
5: Result := 32;
end;
end
- else if (PlayerInfo.Playerinfo[I].Score = MaxScore) then
+ else if (PlayerInfo.Playerinfo[I].Score = MaxScore) AND (PlayerInfo.Playerinfo[I].Score <> 0) then
begin
Case I of
0: Result := Result OR 1;