sourcehook/sourcehook.cpp
changeset 101 7d93aa4d2bf3
parent 99 bfbb04d6683f
child 103 3e818125b830
     1.1 --- a/sourcehook/sourcehook.cpp	Tue Sep 13 16:47:42 2005 +0000
     1.2 +++ b/sourcehook/sourcehook.cpp	Tue Sep 13 16:47:42 2005 +0000
     1.3 @@ -454,9 +454,9 @@
     1.4  		OrigVTables::iterator iter = cc.cc.vt.find(vtbl_offs);
     1.5  		if (iter != cc.cc.vt.end())
     1.6  		{
     1.7 -			if (iter->second.size() > (size_t)vtbl_idx)
     1.8 +			if (iter->val.size() > (size_t)vtbl_idx)
     1.9  			{
    1.10 -				iter->second[vtbl_idx] = 0;
    1.11 +				iter->val[vtbl_idx] = 0;
    1.12  				// Free some memory if possible
    1.13  				// :TODO: add this back in!
    1.14  				/*