mirror of
https://github.com/0TheSpy/Seaside.git
synced 2026-10-10 11:53:16 +08:00
Update netvars.cpp
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user