summaryrefslogtreecommitdiff
path: root/signs.c
diff options
context:
space:
mode:
authortron <tron@openttd.org>2005-12-24 10:16:34 +0000
committertron <tron@openttd.org>2005-12-24 10:16:34 +0000
commita537f7acc2e90439fd25499843b9ba0c00fc15a6 (patch)
tree381509951a94ec2f305ca9d301c06f3036484455 /signs.c
parent30397b656189fb3a029d549fa592dfa722f74245 (diff)
downloadopenttd-a537f7acc2e90439fd25499843b9ba0c00fc15a6.tar.xz
(svn r3331) CMD_PLACE_SIGN doesn't use p1, so don't pass anything seemingly meaningful
Diffstat (limited to 'signs.c')
-rw-r--r--signs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/signs.c b/signs.c
index 6051ed5da..e40f05da3 100644
--- a/signs.c
+++ b/signs.c
@@ -206,7 +206,7 @@ void CcPlaceSign(bool success, TileIndex tile, uint32 p1, uint32 p2)
*/
void PlaceProc_Sign(TileIndex tile)
{
- DoCommandP(tile, _current_player, 0, CcPlaceSign, CMD_PLACE_SIGN | CMD_MSG(STR_2809_CAN_T_PLACE_SIGN_HERE));
+ DoCommandP(tile, 0, 0, CcPlaceSign, CMD_PLACE_SIGN | CMD_MSG(STR_2809_CAN_T_PLACE_SIGN_HERE));
}
/**