Skip to content

Commit

Permalink
Fixed typo in comment.
Browse files Browse the repository at this point in the history
  • Loading branch information
LevShisterov committed Feb 13, 2017
1 parent 5eb2498 commit 562f957
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rehlds/engine/sv_main.cpp
Expand Up @@ -5475,7 +5475,7 @@ void SV_CreateBaseline(void)
* This is true in theory, but in reality things might differs. In Valve's Linux all builds hl.so (and cs.so) expects pointers instead of array elements.
* This looks like a flaw in the compilers or some option, because code specifies to pass a class object which should be passed by a value in that case.
* And this is correctly happen in MSVC, ICC and modern GCC.
* Also, there often will be a metatmod in between that is designed to get and pass pointers.
* Also, there often will be a metamod in between that is designed to get and pass pointers.
* So, we have no choice but to pass data but reference so functions that expects references don't crash on dereference
* and append some fake data for the cases when called function will be the one that expects pass by value.
*/
Expand Down

0 comments on commit 562f957

Please sign in to comment.