mirror of
https://github.com/UberGames/rpgxEF.git
synced 2025-04-22 17:00:53 +00:00
fixes
last warn count game: 9151
This commit is contained in:
parent
e81776bbd2
commit
2d5646c3d0
4 changed files with 11 additions and 11 deletions
|
@ -203,7 +203,7 @@ int BotNearbyGoal(bot_state_t *bs, int tfl, bot_goal_t *ltg, float range) {
|
|||
trap_BotGoalName(goal.number, buf, sizeof(buf));
|
||||
BotAI_Print(PRT_MESSAGE, "%1.1f: new nearby goal %s\n", trap_AAS_Time(), buf);
|
||||
}
|
||||
//*/
|
||||
*/
|
||||
return ret;
|
||||
}
|
||||
|
||||
|
@ -277,7 +277,7 @@ int BotGetItemLongTermGoal(bot_state_t *bs, int tfl, bot_goal_t *goal) {
|
|||
trap_BotGetTopGoal(bs->gs, goal);
|
||||
trap_BotGoalName(goal->number, buf, sizeof(buf));
|
||||
BotAI_Print(PRT_MESSAGE, "%1.1f: new long term goal %s\n", trap_AAS_Time(), buf);
|
||||
//*/
|
||||
*/
|
||||
bs->ltg_time = trap_AAS_Time() + 20;
|
||||
}
|
||||
else {//the bot gets sorta stuck with all the avoid timings, shouldn't happen though
|
||||
|
|
|
@ -96,7 +96,7 @@ typedef struct bsp_trace_s
|
|||
int contents; // contents on other side of surface hit
|
||||
int ent; // number of entity hit
|
||||
} bsp_trace_t;
|
||||
//*/
|
||||
*/
|
||||
|
||||
//!entity info
|
||||
typedef struct aas_entityinfo_s
|
||||
|
|
|
@ -2356,7 +2356,7 @@ static void PM_Footsteps( void ) {
|
|||
}
|
||||
}
|
||||
return;
|
||||
}//******************************************************************
|
||||
}/******************************************************************/
|
||||
else {
|
||||
// airborne leaves position in cycle intact, but doesn't advance
|
||||
if ( pm->waterlevel > 2 ) { //TiM: swimming is more hardcore now //1
|
||||
|
|
|
@ -27,22 +27,22 @@ void spark_think( gentity_t *ent )
|
|||
if(ent->targetname) //toggleable effect needs to be updated more often
|
||||
ent->nextthink = level.time + 1000;
|
||||
else
|
||||
ent->nextthink = level.time + 10000.0; // send a refresh message every 10 seconds
|
||||
ent->nextthink = level.time + 10000; // send a refresh message every 10 seconds
|
||||
}
|
||||
|
||||
//T3h TiM-zor was here
|
||||
void spark_use( gentity_t *self, gentity_t *other, gentity_t *activator ) {
|
||||
|
||||
if ( self->count ) {
|
||||
self->think = 0;
|
||||
if ( self->count != 0) {
|
||||
self->think = NULL;
|
||||
self->nextthink = -1;
|
||||
self->count = 0;
|
||||
}
|
||||
else {
|
||||
self->think = spark_think;
|
||||
self->nextthink = level.time + 10000.0;
|
||||
self->nextthink = level.time + 10000;
|
||||
self->count = 1;
|
||||
}
|
||||
|
||||
self->count = !(self->count);
|
||||
}
|
||||
|
||||
//------------------------------------------
|
||||
|
@ -484,7 +484,7 @@ void SP_fx_drip( gentity_t *ent )
|
|||
|
||||
//TiM - RPG-X FX Funcs
|
||||
//Most of these were copied from EF SP, and then modified for compatibility with the EF MP engine
|
||||
//***********************************************************************************
|
||||
/***********************************************************************************/
|
||||
|
||||
/*QUAKED fx_fountain (0 0 1) (-8 -8 -8) (8 8 8) STARTOFF
|
||||
-----DESCRIPTION-----
|
||||
|
|
Loading…
Reference in a new issue