1
0
mirror of https://github.com/alliedmodders/metamod-source.git synced 2025-01-18 07:52:32 +01:00

Oh, err, what was I thinking here?

--HG--
extra : convert_revision : svn%3Ac2935e3e-5518-0410-8daf-afa5dab7d4e3/trunk%40352
This commit is contained in:
Scott Ehlert 2007-03-26 19:47:37 +00:00
parent fbaa9221e3
commit 3442fd7fe6

View File

@ -563,7 +563,7 @@ bool CSmmAPI::CacheUserMessages()
* Add 5 because it's relative to next instruction:
* Opcode <1 byte> + 32-bit displacement <4 bytes>
*/
vfunc = vfunc + *reinterpret_cast<unsigned int *>(vfunc + 1) + 5;
vfunc = vfunc + *reinterpret_cast<int *>(vfunc + 1) + 5;
}
UserMsgDict *dict = NULL;