blob: 3eb6a3a5a9766ae3a04b069af1270ca85d97ab3b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
$NetBSD: patch-ac,v 1.1 2002/07/16 14:55:04 agc Exp $
--- demos/land/Land.cc 2002/07/16 14:50:07 1.1
+++ demos/land/Land.cc 2002/07/16 14:50:38
@@ -259,7 +259,8 @@
//
// Initialize last-y and last-color arrays
//
- for ( int d=0; d<SCREENWIDTH; d++ )
+ int d;
+ for ( d=0; d<SCREENWIDTH; d++ )
{
lasty[d]=SCREENHEIGHT;
lastc[d]=-1;
|