add GetChars() accessors to many FString uses where const char* is wanted.
By no means complete, it's just a start to get rid of that automatic type conversion operator.
This commit is contained in:
parent
a3eb1ec1fd
commit
1717ff47b2
28 changed files with 92 additions and 97 deletions
|
|
@ -487,7 +487,7 @@ int P_CheckKeys (AActor *owner, int keynum, bool remote, bool quiet)
|
|||
{
|
||||
if (lock->check(owner)) return true;
|
||||
if (quiet) return false;
|
||||
failtext = remote? lock->RemoteMsg : lock->Message;
|
||||
failtext = remote? lock->RemoteMsg.GetChars() : lock->Message.GetChars();
|
||||
failsound = &lock->locksound[0];
|
||||
numfailsounds = lock->locksound.Size();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue