diff --git a/projects/mtg/include/AllAbilities.h b/projects/mtg/include/AllAbilities.h index 2174ec5a3..690ba065e 100644 --- a/projects/mtg/include/AllAbilities.h +++ b/projects/mtg/include/AllAbilities.h @@ -1063,9 +1063,8 @@ class AInstantPowerToughnessModifierUntilEOT: public InstantAbility{ } const char * getMenuText(){ - char buffer[4096]; - sprintf(buffer, "%i/%i",power,toughness); - return buffer; + sprintf(menuText, "%i/%i",power,toughness); + return menuText; } virtual ostream& toString(ostream& out) const