From ebc75c7de04ff817f1a00a9ea1b1b96fa3ba2824 Mon Sep 17 00:00:00 2001 From: aozhiwei Date: Sat, 1 Apr 2023 20:23:58 +0800 Subject: [PATCH] 1 --- server/gameserver/mapinstance.cc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/server/gameserver/mapinstance.cc b/server/gameserver/mapinstance.cc index e5f5d7b2..cee4e74b 100644 --- a/server/gameserver/mapinstance.cc +++ b/server/gameserver/mapinstance.cc @@ -576,6 +576,8 @@ void MapInstance::MarkMapAreaPolys() } else if ((poly->flags & SAMPLE_POLYFLAGS_GLASS) == SAMPLE_POLYFLAGS_GLASS) { for (int ii = 0; ii < poly->vertCount; ++ii) { const float* vc = &tile->verts[poly->verts[ii]*3]; + grass_pos_hash_.push_back + (glm::vec3(vc[0], vc[1], vc[2])); } } poly_ext_datas_.push_back(ext_flag);