File tree Expand file tree Collapse file tree 9 files changed +14
-14
lines changed Expand file tree Collapse file tree 9 files changed +14
-14
lines changed Original file line number Diff line number Diff line change @@ -51,7 +51,7 @@ functions:
51
51
virtual CTString GetPlayerKillDescription ( const CTString & strPlayerName , const EDeath & eDeath )
52
52
{
53
53
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 ) ;
55
55
return str ;
56
56
}
57
57
Original file line number Diff line number Diff line change @@ -104,10 +104,10 @@ functions:
104
104
{
105
105
CTString str ;
106
106
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 ) ;
108
108
return str ;
109
109
} 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 ) ;
111
111
return str ;
112
112
}
113
113
}
Original file line number Diff line number Diff line change @@ -88,7 +88,7 @@ functions:
88
88
virtual CTString GetPlayerKillDescription ( const CTString & strPlayerName , const EDeath & eDeath )
89
89
{
90
90
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 ) ;
92
92
return str ;
93
93
}
94
94
/*
Original file line number Diff line number Diff line change @@ -310,19 +310,19 @@ functions:
310
310
{
311
311
CTString str ;
312
312
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 ) ;
314
314
return str ;
315
315
} 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 ) ;
317
317
return str ;
318
318
} 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 ) ;
320
320
return str ;
321
321
} 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 ) ;
323
323
return str ;
324
324
} 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 ) ;
326
326
return str ;
327
327
}
328
328
Original file line number Diff line number Diff line change @@ -53,7 +53,7 @@ functions:
53
53
virtual CTString GetPlayerKillDescription ( const CTString & strPlayerName , const EDeath & eDeath )
54
54
{
55
55
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 ) ;
57
57
return str ;
58
58
}
59
59
virtual const CTFileName & GetComputerMessageName ( void ) const {
Original file line number Diff line number Diff line change @@ -47,7 +47,7 @@ functions:
47
47
virtual CTString GetPlayerKillDescription ( const CTString & strPlayerName , const EDeath & eDeath )
48
48
{
49
49
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 ) ;
51
51
return str ;
52
52
}
53
53
virtual const CTFileName & GetComputerMessageName ( void ) const {
Original file line number Diff line number Diff line change @@ -74,7 +74,7 @@ functions:
74
74
virtual CTString GetPlayerKillDescription ( const CTString & strPlayerName , const EDeath & eDeath )
75
75
{
76
76
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 ) ;
78
78
return str ;
79
79
}
80
80
virtual const CTFileName & GetComputerMessageName ( void ) const {
Original file line number Diff line number Diff line change @@ -51,7 +51,7 @@ functions:
51
51
virtual CTString GetPlayerKillDescription ( const CTString & strPlayerName , const EDeath & eDeath )
52
52
{
53
53
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 ) ;
55
55
return str ;
56
56
}
57
57
virtual const CTFileName & GetComputerMessageName ( void ) const {
Original file line number Diff line number Diff line change @@ -56,7 +56,7 @@ functions:
56
56
virtual CTString GetPlayerKillDescription ( const CTString & strPlayerName , const EDeath & eDeath )
57
57
{
58
58
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 ) ;
60
60
return str ;
61
61
}
62
62
virtual const CTFileName & GetComputerMessageName ( void ) const {
You can’t perform that action at this time.
0 commit comments