Merge pull request #668 from ennorehling/master

fix invalid arguments
This commit is contained in:
Enno Rehling 2017-03-06 22:28:36 +01:00 committed by GitHub
commit 0fc5af7c58
1 changed files with 2 additions and 2 deletions

View File

@ -131,12 +131,12 @@ static void add_give_person(unit * u, unit * u2, int given,
else if (u2->faction != u->faction) {
message *msg;
msg = msg_message("give_person", "unit target resource amount",
msg = msg_message("give_person", "unit target amount",
u, u2, given);
add_message(&u->faction->msgs, msg);
msg_release(msg);
msg = msg_message("receive_person", "unit target resource amount",
msg = msg_message("receive_person", "unit target amount",
u, u2, given);
add_message(&u2->faction->msgs, msg);
msg_release(msg);