mirror of
https://github.com/jmarshall23/CnC_Remastered_Collection.git
synced 2026-08-12 08:00:55 +02:00
Refactored scroll dimensions, fixed a crash were you would click on non existent tiles, editor now displays splash initially until you do new scenario or load a existing one.
This commit is contained in:
@@ -77,6 +77,9 @@ int MapEditClass::Select_Object(void)
|
||||
** Get cell for x,y
|
||||
*/
|
||||
cell = Click_Cell_Calc(x, y);
|
||||
if(cell == -1) {
|
||||
return -1;
|
||||
}
|
||||
|
||||
/*
|
||||
** Convert x,y to offset from cell upper-left
|
||||
|
||||
Reference in New Issue
Block a user