aboutsummaryrefslogtreecommitdiffstats
path: root/Lua/src/base/USingScores.pas
diff options
context:
space:
mode:
authorwhiteshark0 <whiteshark0@b956fd51-792f-4845-bead-9b4dfca2ff2c>2009-12-29 15:09:32 +0000
committerwhiteshark0 <whiteshark0@b956fd51-792f-4845-bead-9b4dfca2ff2c>2009-12-29 15:09:32 +0000
commit66cae6a143822a4b3f596717d2671db910026054 (patch)
tree27ab9140c03a3271ae13a3b4b4bec14ee159174a /Lua/src/base/USingScores.pas
parentf703eb192dce8d90ce09e6d92892fd788b4af3b7 (diff)
downloadusdx-66cae6a143822a4b3f596717d2671db910026054.tar.gz
usdx-66cae6a143822a4b3f596717d2671db910026054.tar.xz
usdx-66cae6a143822a4b3f596717d2671db910026054.zip
merged r2056 into lua branch
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/branches/experimental@2057 b956fd51-792f-4845-bead-9b4dfca2ff2c
Diffstat (limited to '')
-rw-r--r--Lua/src/base/USingScores.pas2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lua/src/base/USingScores.pas b/Lua/src/base/USingScores.pas
index 56301539..6fdfaeb6 100644
--- a/Lua/src/base/USingScores.pas
+++ b/Lua/src/base/USingScores.pas
@@ -750,7 +750,7 @@ procedure TSingScores.DoRaiseScore(const Index: integer);
const
RaisePerSecond = 500;
begin
- S := (Players[Index].Score - Players[Index].ScoreDisplayed) + GetPopUpPoints(Index);
+ S := (Players[Index].Score - (Players[Index].ScoreDisplayed + GetPopUpPoints(Index)));
if (S <> 0) then
begin