Skip to content

Commit 0786942

Browse files
committed
- fix mistake in hypot
1 parent 0bbd2a3 commit 0786942

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

src_rebuild/Game/C/leadai.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2816,8 +2816,9 @@ u_int hypot(int x, int y)
28162816

28172817
if (x < y)
28182818
{
2819+
t = y;
28192820
y = x;
2820-
x = y;
2821+
x = t;
28212822
}
28222823

28232824
if (x < 0x8000)

0 commit comments

Comments
 (0)