Removed extra bars/node stuff since it was never used. From what I
understand the idea was to allow moving objects to take up space in the scene, thus forcing actors to move around them, or something like that. However, the number of extra bars/nodes was always zero. svn-id: r11365
This commit is contained in:
parent
5eb38cb380
commit
5c14fb3597
2 changed files with 3 additions and 32 deletions
|
@ -2601,21 +2601,6 @@ void Router::loadWalkGrid(void) {
|
|||
_nnodes += theseNodes;
|
||||
}
|
||||
}
|
||||
|
||||
// EXTRA GRIDS (moveable grids added by megas)
|
||||
|
||||
// Note that these will be checked against allowed max at the time of
|
||||
// creating them
|
||||
|
||||
// extra lines
|
||||
|
||||
memmove((uint8 *) &_bars[_nbars], (uint8 *) &_extraBars[0], _nExtraBars * sizeof(_barData));
|
||||
_nbars += _nExtraBars;
|
||||
|
||||
// extra nodes
|
||||
|
||||
memmove((uint8 *) &_node[_nnodes], (uint8 *) &_extraNode[0], _nExtraNodes * sizeof(_nodeData));
|
||||
_nnodes += _nExtraNodes;
|
||||
}
|
||||
|
||||
void Router::clearWalkGridList(void) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue