From d46482719c200a5e5b7e776cea47e8becc132e1a Mon Sep 17 00:00:00 2001 From: flowtron Date: Sun, 4 May 2008 12:22:40 +0000 Subject: [PATCH] scratch that fix, it breaks loading of existing CGZs .. sorry. git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@1861 e016b1c5-ed68-44aa-a2f7-31cac88cffde --- source/src/entity.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/src/entity.h b/source/src/entity.h index ee041449..e50ffa1c 100644 --- a/source/src/entity.h +++ b/source/src/entity.h @@ -18,8 +18,8 @@ enum // static entity types struct persistent_entity // map entity { short x, y, z; // cube aligned position - uchar type; // type is one of the above short attr1; + uchar type; // type is one of the above uchar attr2, attr3, attr4; persistent_entity(short x, short y, short z, uchar type, short attr1, uchar attr2, uchar attr3, uchar attr4) : x(x), y(y), z(z), type(type), attr1(attr1), attr2(attr2), attr3(attr3), attr4(attr4) {}; persistent_entity(){};