diff options
author | Christopher Schwarz <lakitu7@gmail.com> | 2009-10-08 17:04:04 +0000 |
---|---|---|
committer | Tim Angus <tim@ngus.net> | 2013-01-03 00:16:43 +0000 |
commit | 8bbeab8f5c799c60df647d8f6c637a12c09b5ce7 (patch) | |
tree | 1618f498ae428c93748856bdee0ca634691a5933 | |
parent | 3d5c05bab4290345daf3134bd3c01d83d555e329 (diff) |
* Fix ability to build over a marked buildable that doesn't provide power (Rezyn)
-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 a29997e1..3fb7296f 100644 --- a/src/game/g_buildable.c +++ b/src/game/g_buildable.c @@ -3149,7 +3149,7 @@ static itemBuildError_t G_SufficientBPAvailable( buildable_t buildable, // Don't allow a power source to be replaced by a dependant if( team == TEAM_HUMANS && - G_PowerEntityForPoint( origin ) != ent && + G_PowerEntityForPoint( origin ) == ent && buildable != BA_H_REPEATER && buildable != core ) continue; |