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:
@ -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"
|
||||
|
@ -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;
|
||||
|
Reference in New Issue
Block a user