mirror of
https://github.com/rwengine/openrw.git
synced 2024-11-07 03:12:36 +01:00
Make debug keys use gameOffsetTime method
This commit is contained in:
parent
03d27a0e80
commit
d823a97308
@ -777,10 +777,10 @@ void RWGame::globalKeyEvent(const SDL_Event& event)
|
||||
{
|
||||
switch (event.key.keysym.sym) {
|
||||
case SDLK_LEFTBRACKET:
|
||||
state->basic.gameMinute -= 30.f;
|
||||
world->offsetGameTime(-30);
|
||||
break;
|
||||
case SDLK_RIGHTBRACKET:
|
||||
state->basic.gameMinute += 30.f;
|
||||
world->offsetGameTime(30);
|
||||
break;
|
||||
case SDLK_9:
|
||||
timescale *= 0.5f;
|
||||
|
Loading…
Reference in New Issue
Block a user