准备阶段屏蔽自杀

This commit is contained in:
aozhiwei 2019-04-19 16:10:38 +08:00
parent d463951376
commit 5e24ee27d2

View File

@ -355,7 +355,9 @@ void Player::UpdateUseItemIdx()
void Player::UpdateSpectate()
{
if (a8::HasBitFlag(status, HS_Fly)) {
if (room->gas_data.gas_mode == GasInactive ||
room->gas_data.gas_mode == GasJump ||
a8::HasBitFlag(status, HS_Fly)) {
spectate = false;
return;
}