diff --git a/game/server/variant_t.h b/game/server/variant_t.h index 35ef97d1..86016d0c 100644 --- a/game/server/variant_t.h +++ b/game/server/variant_t.h @@ -39,7 +39,7 @@ class variant_t public: // constructor - variant_t() : fieldType(FIELD_VOID), iVal(0) {} + variant_t() : iVal(0), fieldType(FIELD_VOID) {} inline bool Bool( void ) const { return( fieldType == FIELD_BOOLEAN ) ? bVal : false; } inline const char *String( void ) const { return( fieldType == FIELD_STRING ) ? STRING(iszVal) : ToString(); }