--- a/share/hedgewars/Data/Missions/Campaign/A_Space_Adventure/fruit02.lua Wed Dec 11 17:58:32 2013 +0200
+++ b/share/hedgewars/Data/Missions/Campaign/A_Space_Adventure/fruit02.lua Thu Dec 12 02:52:37 2013 +0200
@@ -612,25 +612,6 @@
return false
end
--- splits number by delimiter
-function split(s, delimiter)
- local res = {}
- local first = ""
- for i=1,s:len() do
- if s:sub(1,1) == delimiter then
- table.insert(res, tonumber(first))
- first = ""
- else
- first = first..s:sub(1,1)
- end
- s = s:sub(2)
- end
- if first:len() > 0 then
- table.insert(res, tonumber(first))
- end
- return res
-end
-
function saveCheckPointLocal(cpoint)
AnimCaption(hero.gear, loc("Checkpoint reached!"), 3000)
saveCheckpoint(cpoint)