This repository has been archived on 2024-10-22. You can view files and clone it, but cannot push or open issues or pull requests.
YimMenu/src/backend/looped/self/unlimited_oxygen.cpp

12 lines
226 B
C++
Raw Normal View History

#include "backend/looped/looped.hpp"
namespace big
{
void looped::self_unlimited_oxygen()
{
if (g_local_player == nullptr) return;
if (g->self.unlimited_oxygen)
g_local_player->m_oxygen_info->m_oxygen_time = 0;
}
}