CyberBoardPBEM / cbwindows

CyberBoard Play by EMail system for Windows
MIT License
7 stars 4 forks source link

CGbxProjView::DoBoardClone() may fail #44

Closed wsu-cb closed 3 years ago

wsu-cb commented 3 years ago

Important: Start with GM not running

1) Open GM 2) Create a new .gbx 3) Create a new board 4) Clone the new board

--> The cloned board is not created.

The problem is that CGamDoc::SetLoadingVersion() isn't called until a .gbx is loaded. If no .gx is loaded before cloning a board, the Serialize code used by the clone process doesn't know the correct file version.

DLLarson commented 3 years ago

Nice catch! -Dale