diff options
author | /dev/humancontroller <devhc@example.com> | 2017-04-13 11:30:00 +0000 |
---|---|---|
committer | /dev/humancontroller <devhc@example.com> | 2017-04-15 17:24:16 +0200 |
commit | c596670999d843b430df0c4fe0eeabd148614638 (patch) | |
tree | 6290cc624bbbeaa50e2a3c3d7bc705721867e971 /src/game/g_buildable.c | |
parent | a989cd97673eb20dbd9a2fed5723832d5cd39512 (diff) |
remove a bunch of unused variables and some no-op code
Diffstat (limited to 'src/game/g_buildable.c')
-rw-r--r-- | src/game/g_buildable.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/game/g_buildable.c b/src/game/g_buildable.c index 4b89c82..b8ecad4 100644 --- a/src/game/g_buildable.c +++ b/src/game/g_buildable.c @@ -3390,7 +3390,6 @@ itemBuildError_t G_CanBuild( gentity_t *ent, buildable_t buildable, int distance qboolean invert; int contents; playerState_t *ps = &ent->client->ps; - int buildPoints; itemBuildError_t tempReason; // Stop all buildables from interacting with traces @@ -3421,7 +3420,6 @@ itemBuildError_t G_CanBuild( gentity_t *ent, buildable_t buildable, int distance reason = IBE_PERMISSION; contents = trap_PointContents( entity_origin, -1 ); - buildPoints = BG_FindBuildPointsForBuildable( buildable ); if( ent->client->ps.stats[ STAT_PTEAM ] == PTE_ALIENS ) { |