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:
Christoph Oelckers 2023-10-03 14:27:13 +02:00
commit 1717ff47b2
28 changed files with 92 additions and 97 deletions

View file

@ -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();
}