// Draw Artwork\r
if(intermission && !isdemo()) // match has ended\r
{\r
- //if(getstati(STAT_WINNING))\r
- //localcmd("disconnect\n");\r
+ if(artwork_image == "")\r
+ {\r
+ if(getstati(STAT_WINNING))\r
+ artwork_image = strcat("gfx/artwork_won_", ftos(floor(1 + (random() * 2)))); // CCCCVVVVVAAAAAAAAARRRRRRRRRRRRRRR!!!!!!\r
+ else\r
+ artwork_image = strcat("gfx/artwork_lost_", ftos(floor(1 + (random() * 2)))); // CCCCVVVVVAAAAAAAAARRRRRRRRRRRRRRR!!!!!!\r
+ artwork_image = strzone(artwork_image);\r
+ }\r
\r
if(cvar("cl_artwork_stretch"))\r
{\r
artwork_pos_y = (vid_conheight - artwork_size_y) / 2;\r
}\r
\r
- drawpic(artwork_pos, "gfx/hslimage", artwork_size, '1 1 1', 1, DRAWFLAG_NORMAL);\r
+ drawpic(artwork_pos, artwork_image, artwork_size, '1 1 1', 1, DRAWFLAG_NORMAL);\r
+ }\r
+ else\r
+ {\r
+ if(artwork_image != "")\r
+ {\r
+ strunzone(artwork_image);\r
+ artwork_image = "";\r
+ }\r
}\r
\r
if(NextFrameCommand)\r