mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-12 20:50:56 +00:00
HDB: Simplify conditional
This commit is contained in:
parent
e9970a20dd
commit
680aeba0a4
@ -2351,7 +2351,7 @@ void AI::movePlayer(uint16 buttons) {
|
||||
// there's a possibility that an actual entity and a LUA entity
|
||||
// can share the same spot, so we need to be able to deal with
|
||||
// the real entity first, then the LUA entity.
|
||||
if (!hit || (hit && hit->type == AI_NONE)) {
|
||||
if (!hit || hit->type == AI_NONE) {
|
||||
switch (_player->state) {
|
||||
case STATE_STANDUP:
|
||||
case STATE_STANDDOWN:
|
||||
|
Loading…
x
Reference in New Issue
Block a user