make Classic Doom 3 build

This commit is contained in:
Daniel Gibson 2018-08-26 05:19:58 +02:00
parent 739c6c86b5
commit 9cc596bd4b
3 changed files with 4 additions and 2 deletions

View file

@ -46,6 +46,7 @@ If you have questions concerning this license or the applicable additional terms
#include "WorldSpawn.h"
#include "Misc.h"
#include "Trigger.h"
#include "Sound.h"
#include "Game_local.h"

View file

@ -278,7 +278,7 @@ void idItem::Spawn( void ) {
const char *kv;
kv = spawnArgs.GetString( "inv_name", "" );
if ( kv != "" ) { // SnoopJeDi - Only if it's something good to eat!
if ( idStr::strcmp(kv, "") != 0 ) { // SnoopJeDi - Only if it's something good to eat!
gameLocal.items++;
}

View file

@ -5772,7 +5772,8 @@ void idPlayer::PerformImpulse( int impulse ) {
}
break;
}
case IMPULSE_30: { // SnoopJeDi - At the request of many.
// FIXME: was IMPULSE_30, but that needs to be in framework/UsercmdGen.h .. which is not per mod.
case 30: { // SnoopJeDi - At the request of many.
ToggleStatsDebug();
break;
}