(svn r1832) Next byte -> char iteration: custom names

This commit is contained in:
tron
2005-02-06 20:53:31 +00:00
parent f1610872de
commit 6984d6cd31
11 changed files with 23 additions and 23 deletions

View File

@@ -132,7 +132,7 @@ int32 CmdRenameSign(int x, int y, uint32 flags, uint32 sign_id, uint32 owner)
/* If GetDParam(0) == nothing, we delete the sign */
if (GetDParam(0) != 0 && owner != OWNER_NONE) {
/* Create the name */
str = AllocateName((byte*)_decode_parameters, 0);
str = AllocateName((const char*)_decode_parameters, 0);
if (str == 0)
return CMD_ERROR;