diff --git a/dlls/Android.mk b/dlls/Android.mk index f405bd77..a784011c 100644 --- a/dlls/Android.mk +++ b/dlls/Android.mk @@ -14,7 +14,7 @@ LOCAL_MODULE_FILENAME = libserver_hardfp endif LOCAL_CFLAGS += -D_LINUX -DCLIENT_WEAPONS -Dstricmp=strcasecmp -Dstrnicmp=strncasecmp -D_snprintf=snprintf \ - -fno-exceptions -w -fpermissive + -fno-exceptions -Wextra -Wno-write-strings -fpermissive LOCAL_CPPFLAGS := $(LOCAL_CFLAGS) -frtti -fpermissive diff --git a/dlls/func_break.h b/dlls/func_break.h index 6b5e84cd..9d9862d9 100644 --- a/dlls/func_break.h +++ b/dlls/func_break.h @@ -71,6 +71,7 @@ public: int m_iszSpawnObject; virtual float TouchGravGun( CBaseEntity *attacker, int stage ) { + pev->framerate = 1; return 200; } }; diff --git a/dlls/monsters.h b/dlls/monsters.h index 75c945fd..1985e66f 100644 --- a/dlls/monsters.h +++ b/dlls/monsters.h @@ -154,6 +154,12 @@ public: static void SpawnHeadGib( entvars_t *pevVictim ); static void SpawnRandomGibs( entvars_t *pevVictim, int cGibs, int human ); static void SpawnStickyGibs( entvars_t *pevVictim, Vector vecOrigin, int cGibs ); + + virtual float TouchGravGun( CBaseEntity *attacker, int stage ) + { + pev->framerate = 1; + return 200; + } int m_bloodColor; int m_cBloodDecals;