mirror of
https://github.com/0TheSpy/Seaside.git
synced 2025-01-05 17:13:40 +08:00
Update netvars.cpp
This commit is contained in:
parent
8dff5a61fb
commit
2f16f2139c
@ -31,15 +31,12 @@ int NetvarSys::GetOffset(const char* tableName, const char* propName)
|
||||
{
|
||||
int offset = this->GetProp(tableName, propName);
|
||||
if (!offset)
|
||||
{
|
||||
#ifdef DEBUG
|
||||
printf("%s not found!\n", propName);
|
||||
#endif
|
||||
{
|
||||
printfdbg("%s not found!\n", propName);
|
||||
return 0;
|
||||
}
|
||||
#ifdef DEBUG
|
||||
printf("%s: 0x%02X\n", propName, offset);
|
||||
#endif
|
||||
printfdbg("%s: 0x%02X\n", propName, offset);
|
||||
|
||||
return offset;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user