diff --git a/src/cheat.c b/src/cheat.c index 7407997c3..3033ec4a3 100644 --- a/src/cheat.c +++ b/src/cheat.c @@ -44,6 +44,8 @@ static CHEAT_ENTRY cheatCodes[] = {"count me", kf_ShowNumObjects}, // give a count of objects in the world {"give all", kf_AllAvailable}, // give all {"research all", kf_FinishAllResearch}, // research everything at once + {"superpower", kf_MaxPower}, // get tons of power + {"more power", kf_UpThePower}, // get tons of power {"deity", kf_ToggleGodMode}, //from above {"droidinfo", kf_DebugDroidInfo}, //show unit stats {"sensors", kf_ToggleSensorDisplay}, //show sensor ranges diff --git a/src/keybind.c b/src/keybind.c index 4f2176665..c02c3be10 100644 --- a/src/keybind.c +++ b/src/keybind.c @@ -270,8 +270,8 @@ void kf_MaxPower( void ) { if(!bMultiPlayer|| (NetPlay.bComms == 0)) { - asPower[selectedPlayer]->currentPower=SDWORD_MAX; - addConsoleMessage("Max Power!!",LEFT_JUSTIFY); + asPower[selectedPlayer]->currentPower = SDWORD_MAX / 2; + addConsoleMessage("Power overwhelming",LEFT_JUSTIFY); } }