mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2026-06-25 08:04:22 +00:00
fix: remove unnecessary static_cast in LoadSceneTransitionInfo
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -397,7 +397,7 @@ SceneTransitionInfo Zone::LoadSceneTransitionInfo(std::istream& file) {
|
|||||||
uint32_t sceneID, layerID;
|
uint32_t sceneID, layerID;
|
||||||
BinaryIO::BinaryRead(file, sceneID);
|
BinaryIO::BinaryRead(file, sceneID);
|
||||||
BinaryIO::BinaryRead(file, layerID);
|
BinaryIO::BinaryRead(file, layerID);
|
||||||
info.sceneID = LWOSCENEID(static_cast<int32_t>(sceneID), layerID);
|
info.sceneID = LWOSCENEID(sceneID, layerID);
|
||||||
BinaryIO::BinaryRead(file, info.position);
|
BinaryIO::BinaryRead(file, info.position);
|
||||||
return info;
|
return info;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user