# HG changeset patch # User unc0rr # Date 1257792249 0 # Node ID dbeaba78e676e87a89910085e008d5de4bd125fa # Parent ed687a8d081f3f259b59283305026234a3b095e8 wtf is this, koda? diff -r ed687a8d081f -r dbeaba78e676 hedgewars/uMisc.pas --- a/hedgewars/uMisc.pas Fri Nov 06 18:59:43 2009 +0000 +++ b/hedgewars/uMisc.pas Mon Nov 09 18:44:09 2009 +0000 @@ -164,7 +164,6 @@ procedure FreeTexture(tex: PTexture); function toPowerOf2(i: Longword): Longword; function DecodeBase64(s: shortstring): shortstring; -function modulo(i: LongInt): LongInt; {$IFNDEF IPHONEOS} procedure MakeScreenshot(s: shortstring); {$ENDIF} @@ -489,14 +488,6 @@ byte(DecodeBase64[0]):= t - 1 end; -function modulo (i: LongInt): LongInt; -var result: LongInt; -begin -if i < 0 then result:= -i -else result:= i; -exit(result); -end; - {$IFNDEF IPHONEOS} procedure MakeScreenshot(s: shortstring); const head: array[0..8] of Word = (0, 2, 0, 0, 0, 0, 0, 0, 24);