1
0
Fork 0
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:
fgenesis 2014-09-17 05:11:26 +02:00
parent 15379db4b8
commit aab0dad1cb

View file

@ -4829,7 +4829,12 @@ void DSQ::modifyDt(float &dt)
if (isDeveloperKeys()) if (isDeveloperKeys())
{ {
if (core->getKeyState(KEY_G)) if (core->getKeyState(KEY_G))
{
if(core->getShiftState())
dt *= 10;
else
dt *= 4; dt *= 4;
}
else if (core->getKeyState(KEY_F)) else if (core->getKeyState(KEY_F))
{ {
if (core->getShiftState()) if (core->getShiftState())