From b192dcec842cf043ae936c446bb252259b415ab5 Mon Sep 17 00:00:00 2001 From: LaG1924 <12997935+LaG1924@users.noreply.github.com> Date: Wed, 7 Jun 2017 19:21:39 +0500 Subject: 2017-06-07 --- src/world/Block.hpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'src/world/Block.hpp') diff --git a/src/world/Block.hpp b/src/world/Block.hpp index 50268f3..2f823fe 100644 --- a/src/world/Block.hpp +++ b/src/world/Block.hpp @@ -1,15 +1,15 @@ #pragma once struct Block { - Block(); + Block(); - Block(unsigned short id, unsigned short state); + Block(unsigned short id, unsigned char state); - ~Block(); + ~Block(); - unsigned short id:13; - unsigned char state:4; - //unsigned char light:4; + unsigned short id : 13; + unsigned char state : 4; + //unsigned char light:4; }; bool operator<(const Block &lhs, const Block &rhs); \ No newline at end of file -- cgit v1.2.3