Skip to content

Commit 03da1a4

Browse files
committed
Fixed build from FreeBSD.
1 parent 25c3ef8 commit 03da1a4

File tree

9 files changed

+14
-14
lines changed

9 files changed

+14
-14
lines changed

Sources/Entities/Catman.es

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ functions:
5151
virtual CTString GetPlayerKillDescription(const CTString &strPlayerName, const EDeath &eDeath)
5252
{
5353
CTString str;
54-
str.PrintF(TRANS("%s was killed by a Catman"), strPlayerName);
54+
str.PrintF(TRANS("%s was killed by a Catman"), (const char *)strPlayerName);
5555
return str;
5656
}
5757

Sources/Entities/Cyborg.es

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -104,10 +104,10 @@ functions:
104104
{
105105
CTString str;
106106
if (m_EctType!=CBT_GROUND) {
107-
str.PrintF(TRANS("%s was killed by a Cyborg"), strPlayerName);
107+
str.PrintF(TRANS("%s was killed by a Cyborg"), (const char *)strPlayerName);
108108
return str;
109109
} else {
110-
str.PrintF(TRANS("%s was killed by a CyborgBike"), strPlayerName);
110+
str.PrintF(TRANS("%s was killed by a CyborgBike"), (const char *)strPlayerName);
111111
return str;
112112
}
113113
}

Sources/Entities/Dragonman.es

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ functions:
8888
virtual CTString GetPlayerKillDescription(const CTString &strPlayerName, const EDeath &eDeath)
8989
{
9090
CTString str;
91-
str.PrintF(TRANS("%s was killed by a Dragonman"), strPlayerName);
91+
str.PrintF(TRANS("%s was killed by a Dragonman"), (const char *)strPlayerName);
9292
return str;
9393
}
9494
/*

Sources/Entities/Elemental.es

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -310,19 +310,19 @@ functions:
310310
{
311311
CTString str;
312312
if (m_EetType == ELT_AIR) {
313-
str.PrintF(TRANS("%s was killed by a Airman"), strPlayerName);
313+
str.PrintF(TRANS("%s was killed by a Airman"), (const char *)strPlayerName);
314314
return str;
315315
} else if (m_EetType == ELT_ICE){
316-
str.PrintF(TRANS("%s was killed by a Iceman"), strPlayerName);
316+
str.PrintF(TRANS("%s was killed by a Iceman"), (const char *)strPlayerName);
317317
return str;
318318
} else if (m_EetType == ELT_LAVA){
319-
str.PrintF(TRANS("%s was killed by a Lavaman"), strPlayerName);
319+
str.PrintF(TRANS("%s was killed by a Lavaman"), (const char *)strPlayerName);
320320
return str;
321321
} else if (m_EetType == ELT_STONE){
322-
str.PrintF(TRANS("%s was killed by a Stoneman"), strPlayerName);
322+
str.PrintF(TRANS("%s was killed by a Stoneman"), (const char *)strPlayerName);
323323
return str;
324324
} else if (m_EetType == ELT_WATER){
325-
str.PrintF(TRANS("%s was killed by a Waterman"), strPlayerName);
325+
str.PrintF(TRANS("%s was killed by a Waterman"), (const char *)strPlayerName);
326326
return str;
327327
}
328328

Sources/Entities/Fishman.es

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ functions:
5353
virtual CTString GetPlayerKillDescription(const CTString &strPlayerName, const EDeath &eDeath)
5454
{
5555
CTString str;
56-
str.PrintF(TRANS("%s was killed by a Fishman"), strPlayerName);
56+
str.PrintF(TRANS("%s was killed by a Fishman"), (const char *)strPlayerName);
5757
return str;
5858
}
5959
virtual const CTFileName &GetComputerMessageName(void) const {

Sources/Entities/Huanman.es

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ functions:
4747
virtual CTString GetPlayerKillDescription(const CTString &strPlayerName, const EDeath &eDeath)
4848
{
4949
CTString str;
50-
str.PrintF(TRANS("%s was killed by a Huanman"), strPlayerName);
50+
str.PrintF(TRANS("%s was killed by a Huanman"), (const char *)strPlayerName);
5151
return str;
5252
}
5353
virtual const CTFileName &GetComputerMessageName(void) const {

Sources/Entities/Mamut.es

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ functions:
7474
virtual CTString GetPlayerKillDescription(const CTString &strPlayerName, const EDeath &eDeath)
7575
{
7676
CTString str;
77-
str.PrintF(TRANS("%s was killed by a Mamut"), strPlayerName);
77+
str.PrintF(TRANS("%s was killed by a Mamut"), (const char *)strPlayerName);
7878
return str;
7979
}
8080
virtual const CTFileName &GetComputerMessageName(void) const {

Sources/Entities/Mamutman.es

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ functions:
5151
virtual CTString GetPlayerKillDescription(const CTString &strPlayerName, const EDeath &eDeath)
5252
{
5353
CTString str;
54-
str.PrintF(TRANS("%s was killed by a Mamutman"), strPlayerName);
54+
str.PrintF(TRANS("%s was killed by a Mamutman"), (const char *)strPlayerName);
5555
return str;
5656
}
5757
virtual const CTFileName &GetComputerMessageName(void) const {

Sources/Entities/Mantaman.es

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ functions:
5656
virtual CTString GetPlayerKillDescription(const CTString &strPlayerName, const EDeath &eDeath)
5757
{
5858
CTString str;
59-
str.PrintF(TRANS("%s was killed by a Mantaman"), strPlayerName);
59+
str.PrintF(TRANS("%s was killed by a Mantaman"), (const char *)strPlayerName);
6060
return str;
6161
}
6262
virtual const CTFileName &GetComputerMessageName(void) const {

0 commit comments

Comments
 (0)