From b6d5c314031498281c73dbfe53bba323430e031a Mon Sep 17 00:00:00 2001 From: whiteshark0 Date: Thu, 22 Mar 2007 19:36:12 +0000 Subject: 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 --- Modis/Blind/Blind.dpr | 2 +- Modis/Duell/Duell.dpr | 2 +- 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; -- cgit v1.2.3