From d95df00bd66862911ae5660656dcfae9a809b4bb Mon Sep 17 00:00:00 2001 From: aozhiwei Date: Sat, 27 Aug 2022 09:14:49 +0800 Subject: [PATCH] 1 --- server/gameserver/constant.h | 1 + server/gameserver/roomobstacle.cc | 5 +++++ server/gameserver/roomobstacle.h | 1 + 3 files changed, 7 insertions(+) diff --git a/server/gameserver/constant.h b/server/gameserver/constant.h index 22c0b559..428683a5 100644 --- a/server/gameserver/constant.h +++ b/server/gameserver/constant.h @@ -363,6 +363,7 @@ enum ObstacleType_e kObstacleShield = 11, kObstacleStrengthenWall = 12, kObstacleMedicalStation = 13, + kObstaclePortal = 14, }; enum BulletHit_e diff --git a/server/gameserver/roomobstacle.cc b/server/gameserver/roomobstacle.cc index 6d29ace3..75a16f6c 100644 --- a/server/gameserver/roomobstacle.cc +++ b/server/gameserver/roomobstacle.cc @@ -896,3 +896,8 @@ void RoomObstacle::ActiveMedicalStation() ); } } + +void RoomObstacle::ActivePortal() +{ + +} diff --git a/server/gameserver/roomobstacle.h b/server/gameserver/roomobstacle.h index 70d5adea..0dec335b 100644 --- a/server/gameserver/roomobstacle.h +++ b/server/gameserver/roomobstacle.h @@ -55,6 +55,7 @@ private: void ActiveKeepRangeBuff(); void ActiveStrengthenWall(); void ActiveMedicalStation(); + void ActivePortal(); void SummonAirDropBox(int box_id); void ProcKeepRangeBuff();