openbsd-ports/games/kbilliards/patches/patch-src_graphicvector_cpp
2005-02-17 23:44:06 +00:00

11 lines
467 B
Plaintext

$OpenBSD: patch-src_graphicvector_cpp,v 1.1.1.1 2005/02/17 23:44:06 espie Exp $
--- src/graphicvector.cpp.orig Fri Feb 18 00:17:11 2005
+++ src/graphicvector.cpp Fri Feb 18 00:17:20 2005
@@ -64,5 +64,5 @@ void GraphicVector::setDirection(double
*/
void GraphicVector::advance(int)
{
- setPoints((int)round(startx),(int)round(starty),(int)round(endx),(int)round(endy));
+ setPoints((int)rint(startx),(int)rint(starty),(int)rint(endx),(int)rint(endy));
}