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