removed unused stuff

This commit is contained in:
Borja Ferrer 2006-08-18 14:02:07 +00:00
parent 377c01eac7
commit 43bd5fc732
4 changed files with 1 additions and 5 deletions

View File

@ -878,7 +878,6 @@ static cell AMX_NATIVE_CALL trace_forward(AMX *amx, cell *params)
Vector forwardVector = gpGlobals->v_forward;
REAL fEndX = forwardVector[0] * 4000;
REAL fEndY = forwardVector[1] * 4000;
REAL fEndZ = fStartZ;
REAL fClosestDist = 999999.9;
REAL fClosestLow = 0.0;

View File

@ -164,7 +164,6 @@ static cell AMX_NATIVE_CALL get_keyvalue(AMX *amx, cell *params)
int idx = params[1];
CHECK_ENTITY(idx);
edict_t *pEntity = INDEXENT2(idx);
char *test = INFO_KEY_BUFFER(pEntity);
int iLength=0;
char *char1 = MF_GetAmxString(amx, params[2], 1, &iLength);
return MF_SetAmxString(amx, params[3], INFO_KEY_VALUE(INFO_KEY_BUFFER(pEntity),char1), params[4]);

View File

@ -40,7 +40,7 @@ int Spawn(edict_t *pEntity)
{
if (!g_precachedStuff) {
// Used for SetView, added by JGHG
int returnValue = PRECACHE_MODEL("models/rpgrocket.mdl");
PRECACHE_MODEL("models/rpgrocket.mdl");
g_precachedStuff = true;
}
if (SpawnForward != -1) {

View File

@ -2,8 +2,6 @@
static cell AMX_NATIVE_CALL get_global_float(AMX *amx, cell *params)
{
int global = params[1];
REAL returnValue;
switch (params[1]) {