1
0
mirror of https://github.com/OpenTTD/OpenTTD.git synced 2025-08-21 05:29:11 +00:00

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

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

View File

@@ -126,7 +126,7 @@ int32 CmdChangeCompanyName(int x, int y, uint32 flags, uint32 p1, uint32 p2)
StringID str,old_str;
Player *p;
str = AllocateNameUnique((byte*)_decode_parameters, 4);
str = AllocateNameUnique((const char*)_decode_parameters, 4);
if (str == 0)
return CMD_ERROR;
@@ -148,7 +148,7 @@ int32 CmdChangePresidentName(int x, int y, uint32 flags, uint32 p1, uint32 p2)
StringID str,old_str;
Player *p;
str = AllocateNameUnique((byte*)_decode_parameters, 4);
str = AllocateNameUnique((const char*)_decode_parameters, 4);
if (str == 0)
return CMD_ERROR;