修复从无移动和无旋转模式返回后目标场景不对
This commit is contained in:
@@ -14,10 +14,8 @@ end
|
||||
function scene.mouseDown(x,y)
|
||||
if x>230 and x<1050 then
|
||||
if math.abs(y-800+sceneTemp.time*40)<70 then
|
||||
SCN.pop()
|
||||
loadGame("sprintLock")
|
||||
elseif math.abs(y-2160+sceneTemp.time*40)<70 then
|
||||
SCN.pop()
|
||||
loadGame("sprintFix")
|
||||
end
|
||||
end
|
||||
@@ -30,10 +28,8 @@ end
|
||||
function scene.keyDown(k)
|
||||
if kb.isDown("s")then
|
||||
if k=="l"then
|
||||
SCN.pop()
|
||||
loadGame("sprintLock")
|
||||
elseif k=="f"then
|
||||
SCN.pop()
|
||||
loadGame("sprintFix")
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user