mirror of
https://port.numenaute.org/aleajactaest/khanat-code-old.git
synced 2024-12-03 08:44:47 +00:00
Fixed: Compilation
This commit is contained in:
parent
7ed07bcd13
commit
3a61ee6137
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() );
|
||||
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;
|
||||
|
||||
|
|
Loading…
Reference in a new issue