You have to define the CHalfLifeTeamplay class before you can that class.
So, whenever you have "#include "SgRoundRules.h" you need to add "#include
teamplay_gamerules.h" before it.

----- Original Message -----
From: "Yacketta, Ronald" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Sunday, February 24, 2002 5:38 PM
Subject: [hlcoders] Argh!


> Okay, stupid basic C++ question *sigh*
>
> Why does this
>
> class CSgRoundRules : public CHalfLifeTeamplay
> {
> Blah
> Blah
> Blah
> };
>
> Result in this
>
> GB_RoundRules.h(6) : error C2504: 'CHalfLifeTeamplay' : base class
> undefined
>
> _______________________________________________
> To unsubscribe, edit your list preferences, or view the list archives,
please visit:
> http://list.valvesoftware.com/mailman/listinfo/hlcoders
>
>

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

Reply via email to