refactor(Features): Moved looped features in a separate sub directory

This commit is contained in:
Yimura
2020-12-31 11:06:36 +01:00
parent 47bce32ba1
commit daaa5684e8
15 changed files with 338 additions and 338 deletions

View File

@ -0,0 +1,14 @@
#include "features.hpp"
#include "script_global.hpp"
namespace big
{
void features::reveal_players()
{
if (g_settings.options["reveal_players"].get<bool>())
{
*script_global(2425869).at(1 + (g_playerId * 443)).at(207).as<int*>() = 1;
*script_global(2440049).at(71).as<int*>() = NETWORK::GET_NETWORK_TIME() + 999;
}
}
}