Skip to content

Commit

Permalink
libcommon|Cleanup: Removed obsolete G_ResetMousePos()
Browse files Browse the repository at this point in the history
  • Loading branch information
danij-deng committed Apr 23, 2012
1 parent e13f92b commit 1caf89f
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 13 deletions.
1 change: 0 additions & 1 deletion doomsday/plugins/common/include/g_controls.h
Expand Up @@ -154,7 +154,6 @@ void G_RegisterBindClasses(void);
void G_LookAround(int pnum);
void G_SetPause(boolean yes);

void G_ResetMousePos(void);
void G_ControlReset(int pnum);

float G_GetLookOffset(int pnum);
Expand Down
9 changes: 0 additions & 9 deletions doomsday/plugins/common/src/g_controls.c
Expand Up @@ -1232,15 +1232,6 @@ void G_ControlReset(int player)
}
*/

/**
* Resets the mouse position to 0,0
* Called e.g. when starting a new map.
*/
void G_ResetMousePos(void)
{
mousex = mousey = 0.f;
}

/**
* Resets the look offsets.
* Called e.g. when starting a new map.
Expand Down
3 changes: 0 additions & 3 deletions doomsday/plugins/common/src/g_game.c
Expand Up @@ -1261,9 +1261,6 @@ void G_DoLoadMap(void)

Z_CheckHeap();

// Clear cmd building stuff.
G_ResetMousePos();

sendPause = paused = false;

G_ControlReset(-1); // Clear all controls for all local players.
Expand Down

0 comments on commit 1caf89f

Please sign in to comment.