- fix compiler warning

This commit is contained in:
Christoph Oelckers 2022-09-01 23:21:26 +02:00
parent 99b8457eb4
commit 9d35e3efd4

View file

@ -3060,7 +3060,7 @@ bool ActorTrackDecide(TRACK_POINT* tpoint, DSWActor* actor)
case TRACK_ACTOR_OPERATE: case TRACK_ACTOR_OPERATE:
case TRACK_ACTOR_QUICK_OPERATE: case TRACK_ACTOR_QUICK_OPERATE:
{ {
HitInfo near; HitInfo near{};
double z[2]; double z[2];
if (actor->user.Rot == actor->user.ActorActionSet->Sit || actor->user.Rot == actor->user.ActorActionSet->Stand) if (actor->user.Rot == actor->user.ActorActionSet->Sit || actor->user.Rot == actor->user.ActorActionSet->Stand)