- Added cursorpic gameinfo property to set the mouse cursor image.

SVN r2852 (trunk)
This commit is contained in:
Randy Heit 2010-09-26 05:31:52 +00:00
commit 17f9e687bd
7 changed files with 10 additions and 1 deletions

View file

@ -901,7 +901,10 @@ void D_DoomLoop ()
// Clamp the timer to TICRATE until the playloop has been entered.
r_NoInterpolate = true;
I_SetCursor(TexMan["cursor"]);
if (gameinfo.CursorPic.IsEmpty() || !I_SetCursor(TexMan[gameinfo.CursorPic]))
{
I_SetCursor(TexMan["cursor"]);
}
for (;;)
{