Skip to content

Commit

Permalink
ChangeLevel: Fix loading of camera entity properties
Browse files Browse the repository at this point in the history
Fixes: issue #1135
  • Loading branch information
dscharrer committed Jan 17, 2018
1 parent b36dc31 commit 5e16509
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/scene/ChangeLevel.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2193,7 +2193,7 @@ static Entity * ARX_CHANGELEVEL_Pop_IO(const std::string & idString, EntityInsta
const ARX_CHANGELEVEL_CAMERA_IO_SAVE * ac;
ac = reinterpret_cast<const ARX_CHANGELEVEL_CAMERA_IO_SAVE *>(dat + pos);
pos += sizeof(ARX_CHANGELEVEL_CAMERA_IO_SAVE);
io->_camdata->cam = ac->cam;
*io->_camdata = *ac;
break;
}

Expand Down

0 comments on commit 5e16509

Please sign in to comment.