mirror of
https://github.com/AquariaOSE/Aquaria.git
synced 2024-11-15 14:09:06 +00:00
Allow Shift+G to increase game time 10x
This commit is contained in:
parent
15379db4b8
commit
aab0dad1cb
1 changed files with 6 additions and 1 deletions
|
@ -4829,7 +4829,12 @@ void DSQ::modifyDt(float &dt)
|
||||||
if (isDeveloperKeys())
|
if (isDeveloperKeys())
|
||||||
{
|
{
|
||||||
if (core->getKeyState(KEY_G))
|
if (core->getKeyState(KEY_G))
|
||||||
dt *= 4;
|
{
|
||||||
|
if(core->getShiftState())
|
||||||
|
dt *= 10;
|
||||||
|
else
|
||||||
|
dt *= 4;
|
||||||
|
}
|
||||||
else if (core->getKeyState(KEY_F))
|
else if (core->getKeyState(KEY_F))
|
||||||
{
|
{
|
||||||
if (core->getShiftState())
|
if (core->getShiftState())
|
||||||
|
|
Loading…
Reference in a new issue