Fixed: Compilation
This commit is contained in:
parent
6ac293c848
commit
bfc9381a6b
1 changed files with 2 additions and 2 deletions
|
@ -1067,7 +1067,7 @@ NLMISC_COMMAND(accessPowo, "give access to the powo", "<uid> player_name number"
|
||||||
uint16 ownerId = buildingPlayer->getOwnerIdx( entityBase->getId() );
|
uint16 ownerId = buildingPlayer->getOwnerIdx( entityBase->getId() );
|
||||||
sint32 cell;
|
sint32 cell;
|
||||||
buildingPlayer->addUser(c, 0, ownerId, 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()));
|
CBuildingManager::getInstance()->setRoomLifeTime(cell, TGameCycle(NLMISC::TGameTime(4*60*60) / CTickEventHandler::getGameTimeStep()));
|
||||||
log.displayNL("%d", cell);
|
log.displayNL("%d", cell);
|
||||||
}
|
}
|
||||||
|
@ -1098,7 +1098,7 @@ NLMISC_COMMAND(slide, "slide to the powo", "<uid> x y cell [z] [h]")
|
||||||
|
|
||||||
sint32 x;
|
sint32 x;
|
||||||
sint32 y;
|
sint32 y;
|
||||||
sint32 cell = c->getPowoCell();
|
sint32 cell = 0; // c->getPowoCell();
|
||||||
sint32 z = 0;
|
sint32 z = 0;
|
||||||
float h = 0;
|
float h = 0;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue