X-Git-Url: http://git.localhorst.tv/?a=blobdiff_plain;f=src%2Fmap%2FTile.cpp;h=2b7e0f23bb2a56117b63166fe572605581dca548;hb=d97b7038c28058a76e7214e0dce0394fd8b67cff;hp=d621747996a0a70c7261ce215ed28139f0c9f3a4;hpb=cc3d698b8c1ad09d7a3f9e3f28bc84e0ac1735ea;p=l2e.git diff --git a/src/map/Tile.cpp b/src/map/Tile.cpp index d621747..2b7e0f2 100644 --- a/src/map/Tile.cpp +++ b/src/map/Tile.cpp @@ -11,7 +11,8 @@ namespace map { Tile::Tile() : battlebg(0) -, flags(0) { +, flags(0) +, frames(1) { } @@ -26,6 +27,7 @@ void Tile::CreateTypeDescription() { td.AddField("battlebg", FieldDescription(((char *)&t.battlebg) - ((char *)&t), Interpreter::IMAGE_ID).SetReferenced()); td.AddField("t", FieldDescription(((char *)&t.offset) - ((char *)&t), Interpreter::VECTOR_ID)); td.AddField("flags", FieldDescription(((char *)&t.flags) - ((char *)&t), Interpreter::NUMBER_ID)); + td.AddField("frames", FieldDescription(((char *)&t.frames) - ((char *)&t), Interpreter::NUMBER_ID)); }