mirror of
https://github.com/UberGames/rpgxEF.git
synced 2025-03-16 07:31:48 +00:00
Forgot to clean up some stuff
Signed-off-by: Harry Young <hendrik.gerritzen@googlemail.com>
This commit is contained in:
parent
29d9180afa
commit
c09f67dfd6
2 changed files with 2 additions and 4 deletions
|
@ -1841,9 +1841,8 @@ static float CG_DrawSelfdestructTimer( void ) {
|
|||
int mins, tens, seconds, remainder;
|
||||
int msec;
|
||||
|
||||
cgs.selfdestructTime = 3654321;
|
||||
//cgs.selfdestructTime = 60000; test value just to see if it works as intended
|
||||
msec = cgs.selfdestructTime - cg.time;
|
||||
//msec = 0;
|
||||
|
||||
if (msec < 0)
|
||||
return 0;
|
||||
|
|
|
@ -2742,7 +2742,6 @@ void target_selfdestruct_use(gentity_t *ent, gentity_t *other, gentity_t *activa
|
|||
void target_selfdestruct_think(gentity_t *ent) {
|
||||
gentity_t* client;
|
||||
gentity_t *healthEnt, *safezone=NULL;
|
||||
double ETAmin, ETAsec, temp = 0.0f;
|
||||
int i = 0;
|
||||
|
||||
//this is for calling the safezones to list. It needs to stand here to not screw up the remainder of the think.
|
||||
|
@ -2760,7 +2759,7 @@ void target_selfdestruct_think(gentity_t *ent) {
|
|||
|
||||
if (ent->wait > 0){
|
||||
//Send a sznc/signal to all clients
|
||||
G_AddEvent( ent, EV_SELFDESTRUCT_SETTER, ( ent->damage - level.time );
|
||||
G_AddEvent( ent, EV_SELFDESTRUCT_SETTER, ( ent->damage - level.time ));
|
||||
ent->nextthink = level.time + 10000;
|
||||
|
||||
//fail horribly if we overshoot bang-time
|
||||
|
|
Loading…
Reference in a new issue