1
0
mirror of https://github.com/blupi-games/planetblupi synced 2024-12-30 10:15:36 +01:00

Fix uninitialized variable

This commit is contained in:
Mathieu Schroeter 2017-10-30 18:26:01 +01:00
parent 546f5a86ba
commit 503ed8ce7f

View File

@ -3486,7 +3486,7 @@ CEvent::DecorAutoShift ()
{
Sint32 max, maxLimit = 4, xMoveFactor = 1, yMoveFactor = 1, vectorFactor = 1;
Point offset;
Uint32 dir;
Uint32 dir = 0;
bool byKeyboard = !!this->shiftDirection;