diff --git a/neo/renderer/tr_local.h b/neo/renderer/tr_local.h index 1e742303..131bb85e 100644 --- a/neo/renderer/tr_local.h +++ b/neo/renderer/tr_local.h @@ -1037,12 +1037,8 @@ struct vidMode_t displayHz = 60; } - vidMode_t( int widht, int height, int displayHz ) - { - this->width = width; - this->height = height; - this->displayHz = displayHz; - } + vidMode_t( int width, int height, int displayHz ) : + width(width), height(height), displayHz(displayHz) {} // RB end bool operator==( const vidMode_t& a )