mirror of
https://github.com/libretro/scummvm.git
synced 2025-03-05 09:49:14 +00:00
HDB: Fix initialization warning
This commit is contained in:
parent
7d4c665176
commit
599e144453
@ -1248,7 +1248,7 @@ void AI::animateEntity(AIEntity *e) {
|
||||
// If it is floating downstream, keep moving it
|
||||
if (flags & (kFlagPushRight | kFlagPushLeft | kFlagPushUp | kFlagPushDown)) {
|
||||
int xv = 0, yv = 0;
|
||||
AIState state;
|
||||
AIState state = STATE_NONE;
|
||||
|
||||
if (flags & kFlagPushRight) {
|
||||
e->dir = DIR_RIGHT;
|
||||
|
Loading…
x
Reference in New Issue
Block a user