Optimizations (#2649)

* fix(Respawn): fix respawn in SP
* fix: re-enable bigobj
* fix: update creator's stack size
* fix: use BOOLs instead of bools
* fix(gitignore): hide .pyc files
This commit is contained in:
maybegreat48
2023-12-29 16:07:00 +00:00
committed by GitHub
parent a9c90b953a
commit 1127e51a52
133 changed files with 140633 additions and 14652 deletions

View File

@ -1,7 +1,7 @@
#include "network.hpp"
#include "../../script.hpp"
#include "hooking.hpp"
#include "hooking/hooking.hpp"
#include "pointers.hpp"
#include "services/player_database/player_database_service.hpp"
#include "util/notify.hpp"

View File

@ -41,7 +41,7 @@ namespace lua::stats
// Returns: boolean: The value of the given stat.
static bool get_bool_hash(Hash stat_hash)
{
int out_value;
BOOL out_value;
STATS::STAT_GET_BOOL(stat_hash, &out_value, -1);
return out_value;