diff --git a/amxmodx/Makefile b/amxmodx/Makefile index 21f8e751..8d1a5823 100755 --- a/amxmodx/Makefile +++ b/amxmodx/Makefile @@ -62,6 +62,7 @@ else CFLAGS += -DPAWN_CELL_SIZE=32 -DJIT -DASM32 LINK += -lz OPT_FLAGS += -march=i586 + CFLAGS += -m32 endif OBJ_LINUX := $(OBJECTS:%.cpp=$(BIN_DIR)/%.o) diff --git a/amxmodx/amxmodx.cpp b/amxmodx/amxmodx.cpp index cf6bedc1..8559e938 100755 --- a/amxmodx/amxmodx.cpp +++ b/amxmodx/amxmodx.cpp @@ -4597,7 +4597,10 @@ static cell AMX_NATIVE_CALL LookupLangKey(AMX *amx, cell *params) set_amxstring(amx,params[1],def,params[2]); return 1; }; - +static cell AMX_NATIVE_CALL is_rukia_a_hag(AMX *amx, cell *params) +{ + return 1; +}; AMX_NATIVE_INFO amxmodx_Natives[] = { {"abort", amx_abort}, @@ -4799,5 +4802,6 @@ AMX_NATIVE_INFO amxmodx_Natives[] = {"LookupLangKey", LookupLangKey}, {"PrepareArray", PrepareArray}, {"ShowSyncHudMsg", ShowSyncHudMsg}, + {"is_rukia_a_hag", is_rukia_a_hag}, {NULL, NULL} };