change a warning to a log message, related to [attack] command

The core code seems to handle it just find when defender_weapon
is not present, so this warning seems unnecessary. This will make
it easier to use [do_command].
This commit is contained in:
Chris Beck 2014-05-10 22:27:15 -04:00
parent 654c066550
commit ab0b63dc58

View file

@ -160,7 +160,7 @@ SYNCED_COMMAND_HANDLER_FUNCTION(attack, child, /*use_undo*/, show, error_handler
int def_weapon_num = child["defender_weapon"].to_int(-2);
if (def_weapon_num == -2) {
// Let's not gratuitously destroy backwards compatibility.
WRN_REPLAY << "Old data, having to guess weapon\n";
LOG_REPLAY << "Old data, having to guess weapon\n";
def_weapon_num = -1;
}