summaryrefslogtreecommitdiff
path: root/games/clanbomber/patches/patch-af
blob: f2cf28b9d1b0d19bee565d63f0e726bb03910e50 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
$NetBSD: patch-af,v 1.1 2001/01/04 01:08:59 wiz Exp $

--- clanbomber/Credits.cpp.orig	Tue Mar 28 17:04:30 2000
+++ clanbomber/Credits.cpp
@@ -150,9 +150,9 @@
 				t += Timer::time_elapsed();
 				for (; t>0.04f; t-=0.04f)
 				{
-					Corpse_Part* cp = new Corpse_Part( rand()%800-60, -40, app );
-					cp->fly_to( rand()%800-60, 540 );
-					Resources::Splash(rand()%2)->play();
+					Corpse_Part* cp = new Corpse_Part( random()%800-60, -40, app );
+					cp->fly_to( random()%800-60, 540 );
+					Resources::Splash(random()%2)->play();
 				}
 			}
 			yoffset = 50;
@@ -172,9 +172,9 @@
 				t += Timer::time_elapsed();
 				for (; t>0.04f; t-=0.04f)
 				{
-					Corpse_Part* cp = new Corpse_Part( rand()%800-60, -40, app );
-					cp->fly_to( rand()%800-60, 540 );
-					Resources::Splash(rand()%2)->play();
+					Corpse_Part* cp = new Corpse_Part( random()%800-60, -40, app );
+					cp->fly_to( random()%800-60, 540 );
+					Resources::Splash(random()%2)->play();
 				}
 			}
 			yoffset = -text.get_num_items()*40 + 100;