Fixed: Compilation

This commit is contained in:
kervala 2016-01-06 16:03:20 +01:00
parent 7ed07bcd13
commit 3a61ee6137

View file

@ -1067,7 +1067,7 @@ NLMISC_COMMAND(accessPowo, "give access to the powo", "<uid> player_name number"
uint16 ownerId = buildingPlayer->getOwnerIdx( entityBase->getId() );
sint32 cell;
buildingPlayer->addUser(c, 0, ownerId, cell);
c->setPowoCell(cell);
// c->setPowoCell(cell);
CBuildingManager::getInstance()->setRoomLifeTime(cell, TGameCycle(NLMISC::TGameTime(4*60*60) / CTickEventHandler::getGameTimeStep()));
log.displayNL("%d", cell);
}
@ -1098,7 +1098,7 @@ NLMISC_COMMAND(slide, "slide to the powo", "<uid> x y cell [z] [h]")
sint32 x;
sint32 y;
sint32 cell = c->getPowoCell();
sint32 cell = 0; // c->getPowoCell();
sint32 z = 0;
float h = 0;