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

22 lines
971 B
Plaintext

$OpenBSD: patch-src_kbilliards_cpp,v 1.1.1.1 2005/02/17 23:44:06 espie Exp $
--- src/kbilliards.cpp.orig Fri Feb 18 00:16:16 2005
+++ src/kbilliards.cpp Fri Feb 18 00:16:23 2005
@@ -105,7 +105,7 @@ Kbilliards::Kbilliards(QWidget *parent,
// load game optios like players name , multiplayer, game type ..
loadGameOptions();
- MaxThrowPower=round((actualconfig.check_speed)*0.36) ;
+ MaxThrowPower=rint((actualconfig.check_speed)*0.36) ;
KStandardDirs sd;
path_data=(QString)(sd.findResourceDir("data","kbilliards/top_left_corner.png") + (QString)"kbilliards/");
@@ -901,7 +901,7 @@ void Kbilliards::confdialog() {
canvas->setAdvancePeriod(actualconfig.check_speed); // set current animation speed
- MaxThrowPower=round((actualconfig.check_speed)*0.36) ; // set proportional max power
+ MaxThrowPower=rint((actualconfig.check_speed)*0.36) ; // set proportional max power
}
if (isvisible) {