mirror of
https://github.com/4jcraft/4jcraft.git
synced 2026-06-08 11:33:04 +00:00
Use standard callback pointers in sign verification
This commit is contained in:
parent
ee7945ea54
commit
6185c58203
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in a new issue