Scripts/Commands: Fix crash in ".wp modify wpadd"

Remove the old unsupported "wpadd" subcommand of ".wp modify" .
Closes #11955
This commit is contained in:
jackpoz
2014-04-28 20:50:47 +02:00
parent d0fb9910dd
commit d0cc723d2d

View File

@@ -561,7 +561,7 @@ public:
// Check
// Remember: "show" must also be the name of a column!
if ((show != "delay") && (show != "action") && (show != "action_chance")
&& (show != "move_flag") && (show != "del") && (show != "move") && (show != "wpadd")
&& (show != "move_flag") && (show != "del") && (show != "move")
)
{
return false;