diff options
Diffstat (limited to 'src/game/g_buildable.c')
-rw-r--r-- | src/game/g_buildable.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/g_buildable.c b/src/game/g_buildable.c index 9c36e4c8..b64e663c 100644 --- a/src/game/g_buildable.c +++ b/src/game/g_buildable.c @@ -2905,7 +2905,7 @@ static itemBuildError_t G_SufficientBPAvailable( buildable_t buildable, } // Make sure we're not removing the last spawn - if( ( remainingSpawns - spawnCount ) < 1 ) + if( !g_cheats.integer && remainingSpawns > 0 && ( remainingSpawns - spawnCount ) < 1 ) return bpError; // Not enough points yielded |