Fix typo. Add JudgmentTransformSharedCommand.

This commit is contained in:
Steve Checkoway
2006-07-24 01:06:18 +00:00
parent 03f1e21df4
commit b5665afe2a
+12 -2
View File
@@ -8,11 +8,21 @@ function FormatNumSongsPlayed( num )
return s
end
function JudgmentTransformCommand( self, pn, mp, iEnabledPlayerIndex, iNumEnabledPlayers, bUsingBothSides, bReverse, bCenetered )
function JudgmentTransformCommand( self, pn, mp, iEnabledPlayerIndex, iNumEnabledPlayers, bUsingBothSides, bReverse, bCentered )
local x = 0
local y = -30
if bReverse then y = y * -1 end
if bCentered then y = y * 2 end
-- This makes no sense and wasn't even being used due to misspelling.
-- if bCentered then y = y * 2 end
self:x( x )
self:y( y )
end
function JudgmentTransformSharedCommand( self, pn, mp, iEnabledPlayerIndex, iNumEnabledPlayers, bUsingBothSides, bReverse, bCentered )
local x = -120
local y = -30
if bReverse then y = -30 end
if pn == 1 then x = 120 end
self:x( x )
self:y( y )
end