more script cleanup

This commit is contained in:
AJ Kelly
2012-03-24 00:16:21 -05:00
parent 9a26e009a2
commit ca09f6dd67
3 changed files with 1 additions and 8 deletions
@@ -334,7 +334,6 @@ function WideScale(AR4_3, AR16_9)
return scale( SCREEN_WIDTH, 640, 854, AR4_3, AR16_9 )
end
local function round(num, idp)
if idp and idp > 0 then
local mult = 10 ^ idp;
+1 -6
View File
@@ -8,12 +8,7 @@ local function CurGameName()
end
-- Check the active game mode against a string. Cut down typing this in metrics.
function IsGame(str)
if CurGameName() == str then
return true
end
return false
end
function IsGame(str) return CurGameName() == str end
-- GetExtraColorThreshold()
-- [en] returns the difficulty threshold in meter
@@ -1 +0,0 @@
--does not work