mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-25 22:42:04 +02:00
multilevel support
This commit is contained in:
@@ -239,8 +239,7 @@ void CMap::showObject(CGObjectInstance * obj)
|
||||
|
||||
void CMap::calculateGuardingGreaturePositions()
|
||||
{
|
||||
int levels = twoLevel ? 2 : 1;
|
||||
for(int z = 0; z < levels; z++)
|
||||
for(int z = 0; z < levels(); z++)
|
||||
{
|
||||
for(int x = 0; x < width; x++)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user