Repository navigation
bugfix(gamewindowmanager): Fix crash on game launch from wrong path handling in GameWindowManager::winCreateFromScript() - #3595
Conversation
…er::winCreateFromScript()
|
No actionable comments were generated in the recent review.
|
| Layer / File(s) | Summary |
|---|---|
Window path prefix check Core/GameEngine/Source/GameClient/GUI/GameWindowManagerScript.cpp |
winCreateFromScript now checks for a backslash directly. Paths containing only / are prefixed with Window\. |
Priority:
Estimated code review effort: 2 (Simple) | ~5 minutes
Change: Bug fix
Possibly related PRs
- TheSuperHackers/GeneralsGameCode#3362: This PR changed the same path check in
winCreateFromScript; this change restores the backslash-only check.
Suggested reviewers: bobtista
Merge Risk: 
Minimal · up to 2b09c
-
No actionable merge-blocking risk remains for this path-handling fix.
Pre-merge checks: 
4
- Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.
Comment @coderabbitai help to get the list of available commands.
[Medium impact] The change appears safe to merge.
|
bobtista
left a comment
There was a problem hiding this comment.
This works - tested locally, sorry for introducing the bug!
…andling in GameWindowManager::winCreateFromScript() (TheSuperHackers#3595)
Generals and Zero Hour crash on launch because WND files can no longer be found in
Window\subfolders. This behavior was introduced by #3362 and is reverted to what it did originally.The window it tries to find is: "Menus/BlankWindow.wnd"
Crash callstack