I may not have done this correctly or there might be a better way to do
this, if so please let me know..

I added in in_buttons.h
bool g_bProneToggled;

in gamemovement.cpp
near the top I have extern bool g_bProneToggled;

Then in my Prone(); function
I have if ( g_bProneToggled ) { .. }

gamemovement.cpp includes in_buttons.h

I get the below error ?
I searched m_gProneToggled and it only shows in the 2 files above.


hl error LNK2005: "bool g_bProneToggled" (?g_bProneToggled@@3_NA) already defined in ai_basenpc.obj



r00t 3:16
CQC Gaming
www.cqc-gaming.com


_______________________________________________ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders



Reply via email to