mirror of
https://github.com/AxioDL/PrimeWorldEditor.git
synced 2025-12-11 14:41:57 +00:00
Refactor so PWE compiles with the newly externalized LibCommon
This commit is contained in:
@@ -34,7 +34,7 @@ void CLayerModel::SetArea(CGameArea *pArea)
|
||||
CScriptLayer* CLayerModel::Layer(const QModelIndex& index) const
|
||||
{
|
||||
if (!mpArea) return nullptr;
|
||||
u32 NumLayers = mpArea->NumScriptLayers();
|
||||
uint32 NumLayers = mpArea->NumScriptLayers();
|
||||
|
||||
if (index.row() < (int) NumLayers)
|
||||
return mpArea->ScriptLayer(index.row());
|
||||
|
||||
Reference in New Issue
Block a user