Dnia 05-03-2007 o 21:16:25 Mulchman <[EMAIL PROTECTED]> napisaĆ(a):
It looks like you're using the traditional ifndef/define/endif block wrong. It should be #ifndef SOME_STUFF_H #define SOME_STUFF_H // class definition here #endif // SOME_STUFF_H Yours is #ifndef SOME_STUFF_H #define SOME_STUFF_H #endif // SOME_STUFF H // class definition here So on a non windows system your class will be defined multiple times depending on how many files are #include'ing the .h file
Ah, yeah I know it. But I changed that after compiler gave me some #endif errors. Switching back now.
"The ony place the CBlue pointer is is inside a comment so it doesn't exist, and then it has a null value since it is not being initialized, so even if you uncommented it your mod would crash."
Yes, that's what I thought too. But where should I initilize all this? In hl2mp_gamerules Spawn() (just shooting)? _______________________________________________ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders

