Fix image rotation in vgui::ImagePanel

This commit is contained in:
samisalreadytaken
2023-01-22 17:30:46 +03:00
parent 2d183a8e2a
commit 3f2f562a1e
2 changed files with 23 additions and 0 deletions
+4
View File
@@ -61,7 +61,11 @@ public:
int GetNumFrames();
void SetFrame( int nFrame );
#ifdef MAPBASE
void SetRotation( int iRotation );
#else
void SetRotation( int iRotation ) { m_iRotation = iRotation; }
#endif
protected:
virtual void PaintBackground();