Refactor so PWE compiles with the newly externalized LibCommon

This commit is contained in:
Aruki
2018-12-11 22:50:46 -07:00
parent dacd21d7fc
commit 2287b05bc3
298 changed files with 3192 additions and 3184 deletions

View File

@@ -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());