XPerPlayer -> PositionPerPlayer

This commit is contained in:
AJ Kelly
2011-04-23 16:14:24 -05:00
parent 69f6fe04be
commit d7ba852eaf
2 changed files with 2 additions and 2 deletions
@@ -141,7 +141,7 @@ function Actor:xy(actorX,actorY)
self:y(actorY)
end
function XPerPlayer(player, p1X, p2X)
function PositionPerPlayer(player, p1X, p2X)
return player == PLAYER_1 and p1X or p2X
end
+1 -1
View File
@@ -3813,7 +3813,7 @@ NextScreen="ScreenOptionsExtended"
PlayerType="PlayerSyncMachine"
AllowCenter1Player=false
SyncInfoOnCommand=x,XPerPlayer(GAMESTATE:GetMasterPlayerNumber(),SCREEN_CENTER_X+160,SCREEN_CENTER_X-160);y,SCREEN_CENTER_Y;zoom,0;decelerate,0.5;zoom,0.6
SyncInfoOnCommand=x,PositionPerPlayer(GAMESTATE:GetMasterPlayerNumber(),SCREEN_CENTER_X+160,SCREEN_CENTER_X-160);y,SCREEN_CENTER_Y;zoom,0;decelerate,0.5;zoom,0.6
# hidden by default:
LifeP1OnCommand=visible,false