All pastes #605426 Raw Edit

Something

public cpp v1 · immutable
·published 2007-07-06 05:20 UTC
rendered paste body
	QueryResult * result2 = sDatabase.Query("SELECT reset FROM characters WHERE guid = %u", guid);	Field * fields2 = result2->Fetch();	if(fields2[0].GetUInt8() > 0)	{		Reset_Spells();		sDatabase.Query("UPDATE characters SET reset = 0 WHERE guid = %u", guid);	}	delete fields2;