Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ Abs() [8/8]

static short System.Math.Abs ( short value)
inlinestatic

Definition at line 145 of file Math.cs.

146 {
147 if (value < 0)
148 {
149 value = (short)(-value);
150 if (value < 0)
151 {
153 }
154 }
155 return value;
156 }
static void ThrowAbsOverflow()
Definition Math.cs:223

References System.Math.ThrowAbsOverflow(), and System.value.