ForgePatch/forge/conf/patches/gh.java

11 lines
237 B
Java
Raw Normal View History

2012-01-15 23:40:23 +00:00
// this is needed for the sound engine to work with deobfuscated sourcecode without crashing
2012-03-04 11:06:56 +00:00
public class gh
2012-01-15 23:40:23 +00:00
{
public static int c(double d)
{
int i = (int)d;
return d >= (double)i ? i : i - 1;
}
}