main_gui.c
changeset 722 f420fa9bd521
parent 697 eaada71b7c85
child 724 a73dec475b53
--- a/main_gui.c	Sun Dec 19 14:42:17 2004 +0000
+++ b/main_gui.c	Sun Dec 19 15:14:55 2004 +0000
@@ -91,8 +91,7 @@
 		if (!DoCommandP(0, money, id, NULL, CMD_GIVE_MONEY)) break;
 
 		// Inform the player of this action
-		SetDParam(0, money);
-		GetString(msg, STR_NETWORK_GIVE_MONEY);
+		snprintf(msg, 100, "%d", money);
 
 		if (!_network_server)
 			SEND_COMMAND(PACKET_CLIENT_CHAT)(NETWORK_ACTION_GIVE_MONEY, DESTTYPE_PLAYER, id + 1, msg);