From 0425d8c8a5f68ca571da87086180070f26156e82 Mon Sep 17 00:00:00 2001 From: "madmaxoft@gmail.com" Date: Tue, 28 Aug 2012 21:58:33 +0000 Subject: Fixed a few warnings git-svn-id: http://mc-server.googlecode.com/svn/trunk@799 0a769ca7-a7f5-676a-18bf-c427514a06d6 --- source/blocks/BlockLeaves.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/blocks/BlockLeaves.h') diff --git a/source/blocks/BlockLeaves.h b/source/blocks/BlockLeaves.h index 57cfad5da..c7bca92ac 100644 --- a/source/blocks/BlockLeaves.h +++ b/source/blocks/BlockLeaves.h @@ -12,7 +12,7 @@ #define PROCESS_NEIGHBOR(x,y,z) \ switch (a_Area.GetBlockType(x, y, z)) \ { \ - case E_BLOCK_LEAVES: a_Area.SetBlockType(x, y, z, E_BLOCK_SPONGE + i + 1); break; \ + case E_BLOCK_LEAVES: a_Area.SetBlockType(x, y, z, (BLOCKTYPE)(E_BLOCK_SPONGE + i + 1)); break; \ case E_BLOCK_LOG: return true; \ } -- cgit v1.2.3