Use standard callback pointers in sign verification

This commit is contained in:
notmatthewbeshay 2026-03-11 07:33:13 +11:00
parent ee7945ea54
commit 6185c58203

View file

@ -36,7 +36,7 @@ SignTileEntity::~SignTileEntity()
{
// TODO ORBIS_STUBBED;
#ifndef __ORBIS__
// 4J-PB - we don't need to verify strings anymore - InputManager.CancelQueuedVerifyStrings(&SignTileEntity::StringVerifyCallback,(LPVOID)this);
// 4J-PB - we don't need to verify strings anymore - InputManager.CancelQueuedVerifyStrings(&SignTileEntity::StringVerifyCallback, this);
#endif
}
@ -129,7 +129,7 @@ void SignTileEntity::setChanged()
m_bVerified=true;
#else
if(!InputManager.VerifyStrings((WCHAR**)&wcMessages,MAX_SIGN_LINES,&SignTileEntity::StringVerifyCallback,(LPVOID)this))
if(!InputManager.VerifyStrings((WCHAR**)&wcMessages,MAX_SIGN_LINES,&SignTileEntity::StringVerifyCallback, this))
{
// Nothing to verify
m_bVerified=true;