ConnectAnnounce: neon is kinda sus
This commit is contained in:
parent
84223aee22
commit
09868ec493
@ -300,14 +300,17 @@ public void TQueryCB(Handle owner, Handle rs, const char[] error, any data)
|
||||
}
|
||||
|
||||
int iRank = -1;
|
||||
if (SQL_GetRowCount(rs) > 0)
|
||||
if ((rs != INVALID_HANDLE))
|
||||
{
|
||||
int iField;
|
||||
if (SQL_GetRowCount(rs) > 0)
|
||||
{
|
||||
int iField;
|
||||
|
||||
SQL_FetchRow(rs);
|
||||
SQL_FieldNameToNum(rs, "rank", iField);
|
||||
iRank = SQL_FetchInt(rs, iField);
|
||||
iRank += 1;
|
||||
SQL_FetchRow(rs);
|
||||
SQL_FieldNameToNum(rs, "rank", iField);
|
||||
iRank = SQL_FetchInt(rs, iField);
|
||||
iRank += 1;
|
||||
}
|
||||
}
|
||||
Handle hFile = OpenFile(g_sDataFile, "r");
|
||||
static char sRawMsg[301];
|
||||
|
Loading…
Reference in New Issue
Block a user