mirror of
https://foundry.openuru.org/gitblit/r/CWE-ou-minkata.git
synced 2025-07-17 10:52:46 +00:00
Re-define nil as nullptr, cleaning up some potential issues along the way
This commit is contained in:
@ -615,7 +615,7 @@ bool pfGameGUIMgr::IHandleKeyPress( wchar_t key, uint8_t modifiers )
|
||||
pfGUIDialogMod *dlg;
|
||||
|
||||
// Really... Don't handle any nil keypresses
|
||||
if (key == nil)
|
||||
if (!key)
|
||||
return false;
|
||||
|
||||
for( dlg = fActiveDialogs; dlg != nil; dlg = dlg->GetNext() )
|
||||
|
Reference in New Issue
Block a user