Skip to content

Commit

Permalink
Cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
skyjake committed Jun 5, 2004
1 parent 3be9704 commit fca15df
Showing 1 changed file with 1 addition and 16 deletions.
17 changes: 1 addition & 16 deletions doomsday/Src/jDoom/d_main.c
Expand Up @@ -10,6 +10,7 @@
#include <stdlib.h>
//#include <io.h>
#include <ctype.h>
#include <math.h>

/*
// Oh, gross hack! But io.h clashes with vldoor_e::open/close...
Expand Down Expand Up @@ -686,22 +687,6 @@ char *G_Get(int id)
return 0;
}

/*
void G_DiscardTiccmd(ticcmd_t *discarded, ticcmd_t *current)
{
// We're only interested in buttons.
// Old Attack and Use buttons apply, if they're set.
current->buttons |= discarded->buttons & (BT_ATTACK | BT_USE);
if(discarded->buttons & BT_SPECIAL || current->buttons & BT_SPECIAL)
return;
if(discarded->buttons & BT_CHANGE && !(current->buttons & BT_CHANGE))
{
// Use the old weapon change.
current->buttons |= discarded->buttons & (BT_CHANGE | BT_WEAPONMASK);
}
}
*/

//===========================================================================
// GetGameAPI
// Takes a copy of the engine's entry points and exported data. Returns
Expand Down

0 comments on commit fca15df

Please sign in to comment.