From 9c8d36087b5b35c35c7ff9276a15d400ce45f519 Mon Sep 17 00:00:00 2001 From: aliaspider Date: Wed, 29 Oct 2014 09:30:30 +0100 Subject: less C++. --- source/seta011.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'source/seta011.c') diff --git a/source/seta011.c b/source/seta011.c index b8fd213..5137098 100644 --- a/source/seta011.c +++ b/source/seta011.c @@ -186,7 +186,8 @@ void S9xSetST011(uint32 Address, uint8 Byte) { // 9x9 board data: top to bottom, left to right // Values represent piece types and ownership - for( int lcv=0; lcv<9; lcv++ ) + int lcv; + for(lcv=0; lcv<9; lcv++ ) memcpy( board[lcv], ST011.parameters+lcv*10, 9*1 ); } break; -- cgit v1.2.3